home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / file / managers / mc-3.2 / mc-3 / mc-3.2.1 / src / mc.hlp < prev    next >
Encoding:
Text File  |  1996-05-17  |  105.7 KB  |  2,968 lines

  1. [Contents]
  2. Topics:
  3.  
  4.    DESCRIPTION DESCRIPTION
  5.    OPTIONS OPTIONS
  6.    Overview Overview
  7.    Mouse Support Mouse Support
  8.  
  9.    Keys Keys
  10.      Miscellaneous Keys Miscellaneous Keys
  11.      Directory Panels Directory Panels
  12.      Shell Command Line Shell Command Line
  13.      General Movement Keys General Movement Keys
  14.      Input Line Keys Input Line Keys
  15.  
  16.    Menu Bar Menu Bar
  17.      Left and Right Menus Left and Right Menus
  18.        Listing Mode... Listing Mode...
  19.        Sort Order... Sort Order...
  20.        Filter... Filter...
  21.        Reread Reread
  22.      File Menu File Menu
  23.        Quick cd Quick cd
  24.      Command Menu Command Menu
  25.        Directory Tree Directory Tree
  26.        Find File Find File
  27.        External panelize External panelize
  28.        Hotlist Hotlist
  29.        Extension File Edit Extension File Edit
  30.        Menu File Edit Menu File Edit
  31.      Options Menu Options Menu
  32.        Configuration Configuration
  33.        Display bits Display bits
  34.        Confirmation Confirmation
  35.        Learn keys Learn keys
  36.        Virtual FS Virtual FS
  37.        Layout Layout
  38.        Save Setup Save Setup
  39.  
  40.    Executing operating system commands Executing operating system commands
  41.      The cd internal command The cd internal command
  42.      Macro Substitution Macro Substitution
  43.      The subshell support The subshell support
  44.      Controlling Midnight Commander Controlling Midnight Commander
  45.    Chmod Chmod
  46.    Chown Chown
  47.    File Operations File Operations
  48.    Mask Copy/Rename Mask Copy/Rename
  49.    Internal File Viewer Internal File Viewer
  50.    Completion Completion
  51.    Virtual File System Virtual File System
  52.      FTP File System FTP File System
  53.      Tar File System Tar File System
  54.      Network File System Network File System
  55.      Undelete File System Undelete File System
  56.    Colors Colors
  57.    Special Settings Special Settings
  58.    Terminal databases Terminal databases
  59.  
  60.    FILES FILES
  61.    AVAILABILITY AVAILABILITY
  62.    SEE ALSO SEE ALSO
  63.    AUTHORS AUTHORS
  64.    BUGS BUGS
  65.    License License
  66.    QueryBox QueryBox
  67.    How to use help How to use help
  68. [DESCRIPTION]
  69. DESCRIPTION
  70.  
  71. The Midnight Commander is a directory browser/file manager
  72. for Unix-like operating systems.[OPTIONS]
  73. OPTIONS
  74.  
  75.  
  76. "-b"  Forces black and white display.
  77.  
  78. "-c"  Force color mode, please check the section ColorsColors for
  79. more information.
  80.  
  81. "-C arg"  Use to specify a different color set in the
  82. command line. The format of arg is documented in the
  83. ColorsColors section.
  84.  
  85. "-d"  Disables mouse support.
  86.  
  87. "-f"  Displays the compiled-in search paths for Midnight
  88. Commander files.
  89.  
  90. "-l file"   Save the ftpfs dialog with the server on file.
  91.  
  92. "-P"  At program end, the Midnight Commander will print the
  93. last working directory; this, along with the shell
  94. function below, will allow you to browse through your
  95. directories and automatically move to the last directory
  96. you were in (thanks to Torben Fjerdingstad and Sergey for
  97. contributing this function and the code which implements
  98. this option).
  99.  
  100. bash and zsh users:
  101.  
  102. mc ()
  103. {
  104.         MC=/tmp/mc$$-"$RANDOM"
  105.         @prefix@/bin/mc -P "$@" > "$MC"
  106.         cd `cat "$MC"`
  107.         rm "$MC"
  108.         unset MC;
  109. }
  110.  
  111. tcsh users:
  112. alias mc 'setenv MC `@prefix@/bin/mc -P \!*`; cd $MC; unsetenv MC'
  113.  
  114. I know the bash function could be shorter for zsh and bash
  115. but the backquotes on bash won't accept that you suspend
  116. the program with C-z.
  117.  
  118. "-s"  Turns on the slow terminal mode, in this mode the
  119. program will not draw expensive line drawing characters
  120. and will toggle verbose mode off.
  121.  
  122. "-t"  Used only if the code was compiled with Slang and
  123. terminfo: it makes the Midnight Commander use the value of
  124. the TERMCAP  variable for the terminal information instead
  125. of the information on the system wide terminal database
  126.  
  127. "-u"  Disables the use of a concurrent shell (only makes
  128. sense if the Midnight Commander has been built with
  129. concurrent shell support).
  130.  
  131. "-U"  Enables the use of the concurrent shell support (only
  132. makes sense if the Midnight Commander was built with the
  133. subshell support set as an optional feature).
  134.  
  135. "-v file"  Enters the internal viewer to view the file
  136. specified.
  137.  
  138. "-V"  Displays the version of the program.
  139.  
  140. "-x"  Forces xterm mode. Used when running on xterm-capable
  141. terminals (two screen modes, and able to send mouse escape
  142. sequences).
  143.  
  144. If specified, the first path name is the directory to show
  145. in the selected panel; the second path name is the
  146. directory to be shown in the other panel.
  147.  
  148. [Overview]
  149. Overview
  150.  
  151. The screen of the Midnight Commander is divided into four
  152. parts. Almost all of the screen space is taken up by two
  153. directory panels. By default, the second bottommost line
  154. of the screen is the shell command line, and the bottom
  155. line shows the function key labels. The topmost line is
  156. the menu bar line.Menu Bar The menu bar line may not be visible,
  157. but appears if you click the topmost line with the mouse
  158. or press the F9 key.
  159.  
  160. The Midnight Commander provides a view of two directories
  161. at the same time. One of the panels is the current panel
  162. (a selection bar is in the current panel). Almost all
  163. operations take place on the current panel. Some file
  164. operations like Rename and Copy by default use the
  165. directory of the unselected panel as a destination (don't
  166. worry, they always ask you for confirmation first). For
  167. more information, see the sections on the Directory
  168. Panels,Directory Panels the Left and Right MenusLeft and Right Menus and the File Menu.File Menu
  169.  
  170. You can execute system commands from the Midnight
  171. Commander by simply typing them. Everything you type will
  172. appear on the shell command line, and when you press Enter
  173. the Midnight Commander will execute the command line you
  174. typed; read the Shell Command LineShell Command Line and Input Line KeysInput Line Keys
  175. sections to learn more about the command line.
  176.  
  177. [Mouse Support]
  178. Mouse Support
  179.  
  180. The Midnight Commander comes with mouse support. It is
  181. activated whenever you are running on an xterm(1)  terminal
  182. (it even works if you take a telnet or rlogin connection
  183. to another machine from the xterm) or if you are running
  184. on a Linux console and have the gpm  mouse server running.
  185.  
  186. When you left click on a file in the directory panels,
  187. that file is selected; if you click with the right button,
  188. the file is marked (or unmarked, depending on the previous
  189. state).
  190.  
  191. Double-clicking on a file will try to execute the command
  192. if it is an executable program; and if the extension fileExtension File
  193. Edithas a program specified for the file's extension, the
  194. specified program is executed.
  195.  
  196. Also, it is possible to execute the commands assigned to
  197. the function key labels by clicking on them.
  198.  
  199. If a mouse button is clicked on the top frame line of the
  200. directory panel, it is scrolled one pageful backward.
  201. Correspondingly, a click on the bottom frame line will
  202. cause a scroll of one pageful forward. This frame line
  203. method works also in the Help ViewerHelp and the Directory
  204. Tree.Directory Tree
  205.  
  206. The default auto repeat rate for the mouse buttons is 400
  207. milliseconds. This may be changed to other values by
  208. editing the .mc.iniSave Setup file and changing the
  209. mouse_repeat_rate  parameter.
  210.  
  211. If you are running the Commander with the mouse support,
  212. you can bypass the Commander and get the default mouse
  213. behaviour (cutting and pasting text) by holding down the
  214. Shift key.[]
  215.  
  216.  
  217. [Keys]
  218. Keys
  219.  
  220. Some commands in the Midnight Commander involve the use of
  221. the Control  (sometimes labeled CTRL or CTL) and the Meta
  222. (sometimes labeled ALT or even Compose) keys. In this
  223. manual we will use the following abbreviations:
  224.  
  225. C-<chr> means hold the Control key while typing the
  226. character <chr>. Thus C-f would be: hold the Control key
  227. and type f.
  228.  
  229. M-<chr> means hold the Meta or Alt key down while typing
  230. <chr>. If there is no Meta or Alt key, type ESC, release
  231. it, then type the character <chr>.
  232.  
  233. All input lines in the Midnight Commander use an
  234. approximation to the GNU Emacs editor's key bindings.
  235.  
  236. There are many sections which tell about the keys. The
  237. following are the most important.
  238.  
  239. The File MenuFile Menu section documents the keyboard shortcuts
  240. for the commands appearing in the File menu. This section
  241. includes the function keys. Most of these commands perform
  242. some action, usually on the selected file or the tagged
  243. files.
  244.  
  245. The Directory PanelsDirectory Panels section documents the keys which
  246. select a file or tag files as a target for a later action
  247. (the action is usually one from the file menu).
  248.  
  249. The Shell Command LineShell Command Line section list the keys which are
  250. used for entering and editing command lines. Most of these
  251. copy file names and such from the directory panels to the
  252. command line (to avoid excessive typing) or access the
  253. command line history.
  254.  
  255. Input Line KeysInput Line Keys are used for editing input lines. This
  256. means both the command line and the input lines in the
  257. query dialogs.
  258.  
  259. [Miscellaneous Keys]
  260. Miscellaneous Keys
  261.  
  262. Here are some keys which don't fall into any of the other
  263. categories:
  264.  
  265. Enter.  If there is some text in the command line (the one
  266. at the bottom of the panels), then that command is
  267. executed. If there is no text in the command line then if
  268. the selection bar is over a directory the Midnight
  269. Commander does a chdir(2)  to the selected directory and
  270. reloads the information on the panel; if the selection is
  271. an executable file then it is executed. Finally, if the
  272. extension of the selected file name matches one of the
  273. extensions in the extensions fileExtension File Edit then the corresponding
  274. command is executed.
  275.  
  276. C-l.  Repaint all the information in the Midnight
  277. Commander.
  278.  
  279. C-x c.  Run the ChmodChmod command on a file or on the tagged
  280. files.
  281.  
  282. C-x o.  Run the ChownChown command on the current file or on the
  283. tagged files.
  284.  
  285. C-x l.  Run the link command.
  286.  
  287. C-x s.  Run the symbolic link command.
  288.  
  289. C-x i.  Set the other panel display mode to information.
  290.  
  291. C-x q.  Set the other panel display mode to quick view.
  292.  
  293. C-x !.  Execute the External panelizeExternal panelize command.
  294.  
  295. C-x h  Run the add directory to hotlistHotlist command.
  296.  
  297. M-!,  Executes the Filtered view command, described in the
  298. view command.Internal File Viewer
  299.  
  300. M-?,  Executes the Find fileFind File command.
  301.  
  302. M-c,  Pops up the quick cdQuick cd dialog.
  303.  
  304. C-o,  When the program is being run in the Linux console or
  305. under an xterm, it will show you the output of the
  306. previous command. When ran on the Linux console, the
  307. Midnight Commander uses an external program (cons.saver)
  308. to handle saving and restoring of information on the
  309. screen.
  310.  
  311. When the subshell support is compiled in, you can type C-o
  312. at any time and you will be taken back to the Midnight
  313. Commander main screen, to return to your application just
  314. type C-o. If you have an application suspended by using
  315. this trick, you won't be able to execute other programs
  316. from the Midnight Commander until you terminate the
  317. supended application.
  318.  
  319. [Directory Panels]
  320. Directory Panels
  321.  
  322. This section lists the keys which operate on the directory
  323. panels. If you want to know how to change the appearance
  324. of the panels take a look at the section on Left and Right
  325. Menus.Left and Right Menus
  326.  
  327. Tab, C-i.  Change the current panel. The old other panel
  328. becomes the new current panel and the old current panel
  329. becomes the new other panel. The selection bar moves from
  330. the old current panel to the new current panel.
  331.  
  332. Insert, C-t.  To tag files you may use the Insert key (the
  333. kich1 terminfo sequence) or the C-t (Control-t) sequence.
  334. To untag files, just retag a tagged file.
  335.  
  336. M-g, M-h (or M-r), M-j.  Used to select the top file in a
  337. panel, the middle file and the bottom one, respectively.
  338.  
  339. C-s, M-s.  Start a filename search in the directory
  340. listing. When the search is active the keypresses will be
  341. added to the search string instead of the command line. If
  342. the "Show mini-status"  option is enabled the search string
  343. is shown on the mini-status line. When typing, the
  344. selection bar will move to the next file starting with the
  345. typed letters. The "backspace" or DEL   keys can be used to
  346. correct typing mistakes. If C-s is pressed again, the next
  347. match is searched for.
  348.  
  349. C-\\ (control-backslash).  Show the directory hotlistHotlist and
  350. change to the selected directory.
  351.  
  352. +  (plus).  This is used to select (tag) a group of files.
  353. The Midnight Commander will prompt for a regular
  354. expression describing the group. When Shell Patterns   are
  355. enabled, the regular expression is much like the regular
  356. expressions in the shell (* standing for zero or more
  357. characters and ? standing for one character). If Shell
  358. Patterns  is off, then the tagging of files is done with
  359. normal regular expressions (see ed (1)).
  360.  
  361. If the expression starts or ends with a slash (/), then it
  362. will select directories instead of files.
  363.  
  364. \\ (backslash).  Use the "\" key to unselect a group of
  365. files. This is the opposite of the Plus key.
  366.  
  367. up-key, C-p.  Move the selection bar to the previous entry
  368. in the panel.
  369.  
  370. down-key, C-n.  Move the selection bar to the next entry in
  371. the panel.
  372.  
  373. home, a1, M-<.  Move the selection bar to the first entry
  374. in the panel.
  375.  
  376. end, c1, M->.  Move the selection bar to the last entry in
  377. the panel.
  378.  
  379. next-page, C-v.  Move the selection bar one page down.
  380.  
  381. prev-page, M-v.  Move the selection bar one page up.
  382.  
  383. M-o,  If the other panel is a listing panel and you are
  384. standing on a directory in the current panel, then the
  385. other panel contents are set to the contents of the
  386. currently selected directory (like Emacs' dired C-o key)
  387. otherwise the other panel contents are set to the parent
  388. dir of the current dir.
  389.  
  390. C-PageUp, C-PageDown  Only when ran on the Linux console:
  391. does a chdir to ".." and to the currently selected
  392. directory respectively.
  393.  
  394. [Shell Command Line]
  395. Shell Command Line
  396.  
  397. This section lists keys which are useful to avoid
  398. excessive typing when entering shell commands.
  399.  
  400. M-Enter.  Copy the currently selected file name to the
  401. command line.
  402.  
  403. C-Enter.  Same a M-Enter, this one only works on the Linux
  404. console.
  405.  
  406. M-Tab.  Does the filename, command, variable, username and
  407. hostname completionCompletion for you.
  408.  
  409. C-x t, C-x C-t.  Copy the tagged files (or if there are no
  410. tagged files, the selected file) of the current panel (C-x
  411. t) or of the other panel (C-x C-t) to the command line.
  412.  
  413. C-x p, C-x C-p.   The first key sequence copies the current
  414. path name to the command line, and the second one copies
  415. the unselected panel's path name to the command line.
  416.  
  417. C-q.  The quote command can be used to insert characters
  418. that are otherwise interpreted by the Midnight Commander
  419. (like the '+' symbol)
  420.  
  421. M-p, M-n.  Use these keys to browse through the command
  422. history. M-p takes you to the last entry, M-n takes you to
  423. the next one.
  424.  
  425. [General Movement Keys]
  426. General Movement Keys
  427.  
  428. The help viewer, the file viewer and the directory tree
  429. use common code to handle moving. Therefore they accept
  430. exactly the same keys. Each of them also accepts some keys
  431. of its own.
  432.  
  433. Other parts of the Midnight Commander use some of the same
  434. movement keys, so this section may be of use for those
  435. parts too.
  436.  
  437. Up, C-p.  Moves one line backward.
  438.  
  439. Down, C-n.  Moves one line forward.
  440.  
  441. Prev Page, Page Up, M-v.  Moves one pageful backward.
  442.  
  443. Next Page, Page Down, C-v.  Moves one pageful forward.
  444.  
  445. Home, A1.  Moves to the beginning.
  446.  
  447. End, C1.  Move to the end.
  448.  
  449. The help viewer and the file viewer accept the following
  450. keys in addition the to ones mentioned above:
  451.  
  452. b, C-b, C-h, Backspace, Delete.  Moves one pageful
  453. backward.
  454.  
  455. Space bar.  Moves one pageful forward.
  456.  
  457. u, d.  Moves one half of a page backward or forward.
  458.  
  459. g, G.  Moves to the beginning or to the end.
  460.  
  461. [Input Line Keys]
  462. Input Line Keys
  463.  
  464. The input lines (they are used for the command lineShell Command Line and
  465. for the query dialogs in the program) accept these keys:
  466.  
  467. C-a  puts the cursor at the beginning of line.
  468.  
  469. C-e  puts the cursor at the end of the line.
  470.  
  471. C-b, move-left  move the cursor one position left.
  472.  
  473. C-f, move-right  move the cursor one position right.
  474.  
  475. M-f  moves one word forward.
  476.  
  477. M-b  moves one word backward.
  478.  
  479. C-h, backspace  delete the previous character.
  480.  
  481. C-d, Delete  delete the character in the point (over the
  482. cursor).
  483.  
  484. C-@  sets the mark for cutting.
  485.  
  486. C-w  copies the text between the cursor and the mark to a
  487. kill buffer and removes the text from the input line.
  488.  
  489. M-w  copies the text between the cursor and the mark to a
  490. kill buffer.
  491.  
  492. C-y  yanks back the contents of the kill buffer.
  493.  
  494. C-k  kills the text from the cursor to the end of the line.
  495.  
  496. M-p, M-n  Use these keys to browse through the command
  497. history. M-p takes you to the last entry, M-n takes you to
  498. the next one.
  499.  
  500. M-C-h, M-Backspace  delete one word backward.
  501.  
  502. M-Tab  does the filename, command, variable, username and
  503. hostname completionCompletion for you.
  504.  
  505. []
  506.  
  507.  
  508. [Menu Bar]
  509. Menu Bar
  510.  
  511. The menu bar pops up when you press F9 or click the mouse
  512. on the top row of the screen. The menu bar has five menus:
  513. "Left", "File", "Command", "Options" and "Right".
  514.  
  515. The Left and Right MenusLeft and Right Menus allow you to modify the
  516. appearance of the left and right directory panels.
  517.  
  518. The File MenuFile Menu lists the actions you can perform on the
  519. currently selected file or the tagged files.
  520.  
  521. The Command MenuCommand Menu lists the actions which are more general
  522. and bear no relation to the currently selected file or the
  523. tagged files.
  524.  
  525. [Left and Right Menus]
  526. Left and Right Menus
  527.  
  528. The outlook of the directory panels can be changed from
  529. the "Left"  and "Right"  menus.
  530.  
  531. [Listing Mode...]
  532. Listing Mode...
  533.  
  534. The listing mode view is used to display a listing of
  535. files, there are four different listing modes available:
  536. Full,  Brief,  Long,  and User.  The full directory view shows
  537. the file name, the size of the file and the modification
  538. time.
  539.  
  540. The brief view shows only the file name and it has two
  541. columns (therefore showing twice as many files as other
  542. views). The long view is similar to the output of "ls -l"
  543. command. The long view takes the whole screen width.
  544.  
  545. If you choose the "User" display format, then you have to
  546. specify the display format.
  547.  
  548. The user display format must start with a panel size
  549. specifier. This may be "half" or "full", and they specify
  550. a half screen panel and a full screen panel respectively.
  551.  
  552. After the panel size, you may specify the two columns mode
  553. on the panel, this is done by adding the number "2" to the
  554. user format string.
  555.  
  556. After this you add the name of the fields with an optional
  557. size specifier. This are the available fields you may
  558. display:
  559.  
  560. name,  displays the file name.
  561.  
  562. size,  displays the file size.
  563.  
  564. type,  displays a one character field type. This character
  565. is a superset of what is displayed by ls with the -F flag.
  566. An asterisk for executable files, a slash for directories,
  567. an at-sign for links, an equal sign for sockets, a hyphen
  568. for character devices, a plus sign for block devices, a
  569. pipe for fifos, a tilde for symbolic links to directories
  570. and an exlamation mark for stalled symlinks (links that
  571. point nowhere).
  572.  
  573. mtime,  file's last modification time.
  574.  
  575. atime,  file's last access time.
  576.  
  577. ctime,  file's creation time.
  578.  
  579. perm,  a string representing the current permission bits of
  580. the file.
  581.  
  582. mode,  an octal value with the current permission bits of
  583. the file.
  584.  
  585. nlink,  the number of links to the file. ngid,  the GID
  586. (numeric).
  587.  
  588. nuid,  the UID (numeric).
  589.  
  590. owner,  the owner of the file.
  591.  
  592. group,  the group of the file.
  593.  
  594. inode,  the inode of the file.
  595.  
  596. Also you may use these field names for arranging the
  597. display:
  598.  
  599. space,  a space in the display format.
  600.  
  601. mark,  An asterisk if the file is tagged, a space if it's
  602. not.
  603.  
  604. |,  This character is used to add a vertical line to the
  605. display format.
  606.  
  607. To force one field to a fixed size (a size specifier), you
  608. just add a ':' and then the number of characters you want
  609. the field to have, if the number is followed by the symbol
  610. '+', then the size specifies the minimum field size, if
  611. the program finds out that there is more space on the
  612. screen, it will then expand this field.
  613.  
  614. For example, the Full  display corresponds to this format:
  615.  
  616. half type,name,|,size,|,mtime
  617.  
  618. And the Long  display corresponds to this format:
  619.  
  620. full
  621. perm,space,nlink,space,owner,space,group,space,size,space,
  622. mtime,space,name
  623.  
  624. This is a nice user display format:
  625.  
  626. half name,|,size:7,|,type,mode:3
  627.  
  628. Panels may also be set to the following modes:
  629.  
  630. "Info"  The info view display information related to the
  631. currently selected file and if possible information about
  632. the current file system.
  633.  
  634. "Tree"   The tree view is quite similar to the directory
  635. treeDirectory Tree feature. See the section about it for more
  636. information.
  637.  
  638. "Quick View"  In this mode, the panel will switch to a
  639. reduced viewerInternal File Viewer that displays the contents of the
  640. currently selected file, if you select the panel (with the
  641. tab key or the mouse), you will have access to the usual
  642. viewer commands.
  643.  
  644. [Sort Order...]
  645. Sort Order...
  646.  
  647. The eight sort orders are by name, by extension, by
  648. modification time, by access time, and by inode
  649. information modification time, by size, by inode and
  650. unsorted. In the Sort order dialog box you can choose the
  651. sort order and you may also specify if you want to sort in
  652. reverse order by checking the reverse box.
  653.  
  654. By default directories are sorted before files but this
  655. can be changed from the Options menuOptions Menu (option "Mix all
  656. files"  ).
  657.  
  658. [Filter...]
  659. Filter...
  660.  
  661. The filter command allows you to specify a shell pattern
  662. (for example "*.tar.gz"  ) which the files must match to be
  663. shown. Regardless of the filter pattern, the directories
  664. and the links to directories are always shown in the
  665. directory panel.
  666.  
  667. [Reread]
  668. Reread
  669.  
  670. The reread command reload the list of files in the
  671. directory. It is useful if other processes have created or
  672. removed files. If you have panelized file names in a panel
  673. this will reload the directory contents and remove the
  674. panelized information (See the section External panelizeExternal panelize
  675. for more information).
  676.  
  677. [File Menu]
  678. File Menu
  679.  
  680. The Midnight Commander uses the F1 - F10 keys as keyboard
  681. shortcuts for commands appearing in the file menu. The
  682. escape sequences for the Fkeys are terminfo capabilities
  683. kf1 trough kf10. On terminals without function key
  684. support, you can achieve the same functionality by
  685. pressing the ESC key and then a number in the range 1
  686. through 9 and 0 (corresponding to F1 to F9 and F10
  687. respectively).
  688.  
  689. The File menu has the following commands (keyboard
  690. shortcuts in parentheses):
  691.  
  692. Help (F1)
  693.  
  694. Invokes the built-in hypertext help viewer. Inside the
  695. help viewer,Help you can use the Tab key to select the next
  696. link and the Enter key to follow that link. The keys Space
  697. and Backspace are used to move forward and backward in a
  698. help page. Press F1 again to get the full list of accepted
  699. keys.
  700.  
  701. Menu (F2)
  702.  
  703. Invoke the user menu.Menu File Edit The user menu provides an easy way
  704. to provide users with a menu and add extra features to the
  705. Midnight Commander.
  706.  
  707. View (F3, Shift-F3)
  708.  
  709. View the currently selected file. By default this invokes
  710. the Internal File ViewerInternal File Viewer but if the option "Use internal
  711. view" is off, it invokes an external file viewer specified
  712. by the PAGER   environment variable. If PAGER  is undefined,
  713. the "view" command is invoked. If you use Shift-F3
  714. instead, the viewer will be invoked without doing any
  715. formatting or pre processing to the file.
  716.  
  717. Filtered View (M-!)
  718.  
  719. this command prompts for a command and it's arguments (the
  720. argument defaults to the currently selected file name),
  721. the output from such command is shown in the internal file
  722. viewer.
  723.  
  724. Edit (F4)
  725.  
  726. Currently it invokes the "vi" editor or the editor
  727. specified in the EDITOR  environment variable.
  728.  
  729. Copy (F5)
  730.  
  731. Pop up an input dialog with destination that defaults to
  732. the directory in the non-selected panel and copies the
  733. currently selected file (or the tagged files, if there is
  734. at least one file tagged) to the directory specified by
  735. the user in the input dialog. During this process, you can
  736. press C-c or ESC to abort the operation. For details about
  737. source mask (which will be usually either * or ^\(.*\)$
  738. depending on setting of Use shell patterns) and possible
  739. wildcards in the destination see Mask copy/rename.Mask Copy/Rename
  740.  
  741. Link (C-x l)
  742.  
  743. Create a hard link to the current file.
  744.  
  745. SymLink (C-x s)
  746.  
  747. Create a symbolic link to the current file. To those of
  748. you who don't know what links are: creating a link to a
  749. file is a bit like copying the file, but both the source
  750. filename and the destination filename represent the same
  751. file image. For example, if you edit one of these files,
  752. all changes you make will appear in both files. Some
  753. people call links aliases or shortcuts.
  754.  
  755. A hard link appears as a real file. After making it, there
  756. is no way of telling which one is the original and which
  757. is the link. If you delete either one of them the other
  758. one is still intact. It is very difficult to notice that
  759. the files represent the same image. Use hard links when
  760. you don't even want to know.
  761.  
  762. A symbolic link is a reference to the name of the original
  763. file. If the original file is deleted the symbolic link is
  764. useless. It is quite easy to notice that the files
  765. represent the same image. The Midnight Commander shows an
  766. "@"-sign in front of the file name if it is a symbolic
  767. link to somewhere (except to directory, where it shows a
  768. tilde (~)). The original file which the link points to is
  769. shown on mini-status line if the "Show mini-status"  option
  770. is enabled. Use symbolic links when you want to avoid the
  771. confusion that can be caused by hard links.
  772.  
  773. Rename/Move (F6)
  774.  
  775. Pop up an input dialog that defaults to the directory in
  776. the non-selected panel and moves the currently selected
  777. file (or the tagged files if there is at least one tagged
  778. file) to the directory specified by the user in the input
  779. dialog. During the process, you can press C-c or ESC to
  780. abort the operation. For more details look at Copy
  781. operation above, most of the things are quite similar.
  782.  
  783. Mkdir (F7)
  784.  
  785. Pop up an input dialog and creates the directory
  786. specified.
  787.  
  788. Delete (F8)
  789.  
  790. Delete the currently selected file or the tagged files in
  791. the currently selected panel. During the process, you can
  792. press C-c or ESC to abort the operation.
  793.  
  794. Quick cd (M-c)  Use the quick cdQuick cd command if you have full
  795. command line and want to cd somewhere.
  796.  
  797. Select group (+)
  798.  
  799. This is used to select (tag) a group of files. The
  800. Midnight Commander will prompt for a regular expression
  801. describing the group. When Shell Patterns   are enabled,
  802. the regular expression is much like the filename globbing
  803. in the shell (* standing for zero or more characters and ?
  804. standing for one character). If Shell Patterns  is off,
  805. then the tagging of files is done with normal regular
  806. expressions (see ed (1)).
  807.  
  808. To mark directories instead of files, the expression must
  809. start or end with a '/'.
  810.  
  811. Unselect group (\\)
  812.  
  813. Used for unselecting a group of files. This is the
  814. opposite of the "Select group"  command.
  815.  
  816. Quit (F10, Shift-F10)
  817.  
  818. Terminate the Midnight Commander. Shift-F10 is used when
  819. you want to quit and you are using the shell wrapper.
  820. Shift-F10 will not take you to the last directory you
  821. visited with the Midnight Commander, instead it will stay
  822. at the directory where you started the Midnight Commander.
  823.  
  824. [Quick cd]
  825. Quick cd
  826.  
  827. This command is useful if you have a full command line and
  828. want to cdThe cd internal command somewhere without having to yank and paste
  829. the command line. This command pops up a small dialog,
  830. where you enter everything you would enter after cd   on
  831. the command line and then you press enter. This features
  832. all the things that are already in the internal cd
  833. command.The cd internal command
  834.  
  835. [Command Menu]
  836. Command Menu
  837.  
  838. The Directory treeDirectory Tree command shows a tree figure of the
  839. directories.
  840.  
  841. The Find fileFind File command allows you to search for a specific
  842. file. The "Swap panels" command swaps the contents of the
  843. two directory panels.
  844.  
  845. The "Panels on/off" command shows the output of the last
  846. shell command. This works only on xterm and on Linux
  847. console.
  848.  
  849. The Compare directories (C-x d) command compares the
  850. directory panels with each other. You can then use the
  851. Copy (F5) command to make the panels identical. There are
  852. two compare methods. The quick method compares only file
  853. size and file date. The thorough method makes a full
  854. byte-by-byte compare. The thorough method is not available
  855. if the machine does not support the mmap(2) system call.
  856.  
  857. The Command history command shows a list of typed
  858. commands. The selected command is copied to the command
  859. line. The command history can also be accessed by typing
  860. M-p or M-n.
  861.  
  862. The Directory hotlist (C-\)Hotlist command makes changing of the
  863. current directory to often used directories faster.
  864.  
  865. The External panelizeExternal panelize allows you to execute an external
  866. program, and make the output of that program the contents
  867. of the current panel.
  868.  
  869. Extension file editExtension File Edit command allows you to specify
  870. programs to executed when you try to execute, view, edit
  871. and do a bunch of other thing on files with certain
  872. extensions (filename endings). The Menu file editMenu File Edit
  873. command may be used for editing the user menu (which
  874. appears by pressing F2).
  875.  
  876. [Directory Tree]
  877. Directory Tree
  878.  
  879. The Directory Tree command shows a tree figure of the
  880. directories. You can select a directory from the figure
  881. and the Midnight Commander will change to that directory.
  882.  
  883. There are two ways to invoke the tree. The real directory
  884. tree command is available from Commands menu. The other
  885. way is to select tree view from the Left or Right menu.
  886.  
  887. To get rid of long delays the Midnight Commander creates
  888. the tree figure by scanning only a small subset of all the
  889. directories. If the directory which you want to see is
  890. missing, move to its parent directory and press C-r (or
  891. F2).
  892.  
  893. You can use the following keys:
  894.  
  895. General movement keysGeneral Movement Keys are accepted.
  896.  
  897. Enter.  In the directory tree, exits the directory tree and
  898. changes to this directory in the current panel. In the
  899. tree view, changes to this directory in the other panel
  900. and stays in tree view mode in the current panel.
  901.  
  902. C-r, F2 (Rescan).  Rescan this directory. Use this when the
  903. tree figure is out of date: it is missing subdirectories
  904. or shows some subdirectories which don't exist any more.
  905.  
  906. F3 (Forget).  Delete this directory from the tree figure.
  907. Use this to remove clutter from the figure. If you want
  908. the directory back to the tree figure press F2 in its
  909. parent directory.
  910.  
  911. F4 (Static/Dynamic).  Toggle between the dynamic navigation
  912. mode (default) and the static navigation mode.
  913.  
  914. In the static navigation mode you can use the Up and Down
  915. keys to select a directory. All known directories are
  916. shown.
  917.  
  918. In the dynamic navigation mode you can use the Up and Down
  919. keys to select a sibling directory, the Left key to move
  920. to the parent directory, and the Right key to move to a
  921. child directory. Only the parent, sibling and children
  922. directories are shown, others are left out. The tree
  923. figure changes dynamically as you traverse.
  924.  
  925. F5 (Copy).  Copy the directory.
  926.  
  927. F6 (RenMov).  Move the directory.
  928.  
  929. F7 (Mkdir).  Make a new directory below this directory.
  930.  
  931. F8 (Delete).  Delete this directory from the file system.
  932.  
  933. C-s, M-s.  Search the next directory matching the search
  934. string. If there is no such directory these keys will move
  935. one line down.
  936.  
  937. C-h, Backspace.  Delete the last character of the search
  938. string.
  939.  
  940. Any other character.  Add the character to the search
  941. string and move to the next directory which starts with
  942. these characters. In the tree view you must first activate
  943. the search mode by pressing C-s. The search string is
  944. shown in the mini status line.
  945.  
  946. The following actions are available only in the directory
  947. tree. They aren't supported in the tree view.
  948.  
  949. F1 (Help).  Invoke the help viewer and show this section.
  950.  
  951. Esc, F10.  Exit the directory tree. Do not change the
  952. directory.
  953.  
  954. The mouse is supported. A double-click behaves like Enter.
  955. See also the section on mouse support.Mouse Support
  956.  
  957. [Find File]
  958. Find File
  959.  
  960. The Find File feature first asks for the start directory
  961. for the search and the filename to be searched for. By
  962. pressing the Tree button you can select the start
  963. directory from the directory treeDirectory Tree figure. You can start
  964. the search by pressing the Ok button.
  965.  
  966. During the search you can stop from the Stop button and
  967. continue from the Start button.
  968.  
  969. You can browse the filelist with the up and down arrow
  970. keys. The Chdir button will change to the directory of the
  971. currently selected file. The Again button will ask for the
  972. parameters for a new search. The Quit button quits the
  973. search operation. The Panelize button will place the found
  974. files to the current directory panel so that you can do
  975. additional operations on them (view, copy, move, delete
  976. and so on). After panelizing you can press C-r to return
  977. to the normal file listing.
  978.  
  979. It is possible to have a list of directories that the Find
  980. File command should skip during the search (for example,
  981. you may want to avoid searches on a CDROM or on a NFS
  982. directory that is mounted across a slow link).
  983.  
  984. Directories to be skipped should be set on the variable
  985. find_ignore_dirs   in the Misc   section of your .mc.ini
  986. file.
  987.  
  988. Directory components should be separated with a colon,
  989. here is an example:
  990.  
  991. [Misc]
  992. find_ignore_dirs=/cdrom:/nfs/wuarchive:/afs
  993.  
  994. You may consider using the External panelizeExternal panelize command for
  995. some operations. Find file command is for simple queries
  996. only, while using External panelize you can do as
  997. mysterious searches as you would like.
  998.  
  999. [External panelize]
  1000. External panelize
  1001.  
  1002. The External panelize allows you to execute an external
  1003. program, and make the output of that program the contents
  1004. of the current panel.
  1005.  
  1006. For example, if you want to manipulate in one of the
  1007. panels all the symbolic links in the current directory,
  1008. you can use external panelization to run the following
  1009. command:
  1010.  
  1011. find . -type l -print
  1012. Upon command completion, the directory contents of the
  1013. panel will no longer be the directory listing of the
  1014. current directory, but all the files that are symbolic
  1015. links.
  1016.  
  1017. If you want to panelize all of the files that have been
  1018. downloaded from your ftp server, you can use this awk
  1019. command to extract the file name from the transfer log
  1020. files:
  1021.  
  1022. awk '$9 ~! /incoming/ { print $9 }' < /usr/adm/xferlog
  1023.  
  1024. You may want to save often used panelize commands under a
  1025. descriptive name, so that you can recall them quickly. You
  1026. do this by typing the command on the input line and
  1027. pressing Add new button. Then you enter a name under which
  1028. you want the command to be saved. Next time, you just
  1029. choose that command from the list and do not have to type
  1030. it again.
  1031.  
  1032. [Hotlist]
  1033. Hotlist
  1034.  
  1035. The Directory hotlist command shows the labels of the
  1036. directories in the directory hotlist. The Midnight
  1037. Commander will change to the directory corresponding to
  1038. the selected label. From the hotlist dialog, you can
  1039. remove already created label/directory pairs and add new
  1040. one. For adding you may want to use a standalone Add to
  1041. hotlist command (C-x h), which adds the current directory
  1042. into the directory hotlist, as well. The user is prompted
  1043. for a label for the directory.
  1044.  
  1045. This makes cd to often used directories faster. You may
  1046. consider using the CDPATH variable as described in
  1047. internal cd commandThe cd internal command description.
  1048.  
  1049. [Extension File Edit]
  1050. Extension File Edit
  1051.  
  1052. This will invoke your editor on the file ~/.mc.ext. The
  1053. format of this file is as follows (the format has changed
  1054. with version 3.0):
  1055.  
  1056. All lines starting with # or empty lines are thrown away.
  1057.  
  1058. Lines starting in the first column should have following
  1059. format:
  1060.  
  1061. keyword/descNL,  i.e. everything after keyword/  until new
  1062. line is desc
  1063.  
  1064. keyword can be:
  1065.  
  1066. shell  (desc is then any extension (no wildcars), i.e.
  1067. matches all the files *desc . Example: .tar matches *.tar)
  1068.  
  1069. regex  (desc is a regular expression)
  1070.  
  1071. type  (file matches this if `file %f` matches regular
  1072. expression desc (the filename: part from `file %f` is
  1073. removed))
  1074.  
  1075. default  (matches any file no matter what desc is)
  1076.  
  1077. Other lines should start with a space or tab and should be
  1078. of the format:
  1079.  
  1080. keyword=commandNL  (with no spaces around =), where keyword
  1081. should be:
  1082.  
  1083. Open  (if the user presses Enter or doubleclicks it), View
  1084. (F3), Edit  (F4), Drop  (user drops some files on it) or any
  1085. other user defined name (those will be listed in the
  1086. extension dependent pop-up menu). Icon  name is reserved
  1087. for future use by mc.
  1088.  
  1089. command  is any one-line shell command, with the simple
  1090. macro substitution.Macro Substitution
  1091.  
  1092. Target are evaluated from top to bottom (order is thus
  1093. important). If some actions are missing, search continues
  1094. as if this target didn't match (i.e. if a file matches the
  1095. first and second entry and View action is missing in the
  1096. first one, then on pressing F3 the View action from the
  1097. second entry will be used. default should catch all the
  1098. actions.
  1099.  
  1100. [Menu File Edit]
  1101. Menu File Edit
  1102.  
  1103. The user menu is a menu of useful actions that can be
  1104. customized by the user. When you access the user menu, the
  1105. file ~/.mc.menu is used if it exists, and otherwise mc
  1106. uses the default system-wide menu @prefix@/lib/mc/mc.menu.
  1107.  
  1108. The format of the menu file is very simple. Lines that
  1109. start with anything but space or tab are considered
  1110. entries for the menu (in order to be able to use it like a
  1111. hot key, the first character should be a letter). All the
  1112. lines that start with a space or a tab are the commands
  1113. that will be executed when the entry is selected.
  1114.  
  1115. When an option is selected all the command lines of the
  1116. option are copied to a temporary file in the temporary
  1117. directory (usually /usr/tmp) and then that file is
  1118. executed. This allows the user to put normal shell
  1119. constructs in the menus. Also simple macro substitution
  1120. takes place before executing the menu code. For more
  1121. information, see macro substitution.Macro Substitution
  1122.  
  1123. Here is a sample mc.menu file:
  1124.  
  1125. A    Dump the currently selected file
  1126.     od -c %f
  1127.  
  1128. B    Edit a bug report and send it to root
  1129.     vi /tmp/mail.$$
  1130.     mail -s "Midnight Commander bug" root < /tmp/mail.$$
  1131.  
  1132. M    Read mail
  1133.     emacs -f rmail
  1134.  
  1135. N    Read Usenet news
  1136.     emacs -f gnus
  1137.  
  1138. H    Call the info hypertext browser
  1139.     info
  1140.  
  1141. J    Copy current directory to other panel recursively
  1142.     tar cf - . | (cd %D && tar xvpf -)
  1143.  
  1144. K    Make a release of the current subdirectory
  1145.     echo -n "Name of distribution file: "
  1146.     read tar
  1147.     ln -s %d `dirname %d`/$tar 
  1148.     cd ..
  1149.     tar cvhf ${tar}.tar $tar
  1150.  
  1151. = f *.tar.gz | f *.tgz & t n
  1152. X       Extract the contents of a compressed tar file
  1153.     tar xzvf %f
  1154.  
  1155. Default Conditions
  1156.  
  1157. Each menu entry may be preceded by a condition. The
  1158. condition must start from the first column with a '='
  1159. character. If the condition is true, the menu entry will
  1160. be the default entry.
  1161.  
  1162. Condition syntax:     = <sub-cond>
  1163.   or:            = <sub-cond> | <sub-cond> ...
  1164.   or:            = <sub-cond> & <sub-cond> ... 
  1165.  
  1166. Sub-condition is one of following:
  1167.  
  1168.   f <pattern>        current file matching pattern?
  1169.   F <pattern>        other file matching pattern?
  1170.   d <pattern>        current directory matching pattern?
  1171.   D <pattern>        other directory matching pattern?
  1172.   t <type>        current file of type?
  1173.   T <type>        other file of type?
  1174.   ! <sub-cond>        negate the result of sub-condition
  1175.  
  1176. Pattern is a normal shell pattern or a regular expression,
  1177. according to the shell patterns option. You can override
  1178. the global value of the shell patterns option by writing
  1179. "shell_patterns=x" on the first line of the menu file
  1180. (where "x" is either 0 or 1).
  1181.  
  1182. Type is one or more of the following characters:
  1183.  
  1184.   n    not directory
  1185.   r    regular file
  1186.   d    directory
  1187.   l    link
  1188.   c    char special
  1189.   b    block special
  1190.   f    fifo
  1191.   s    socket
  1192.   x    executable
  1193.   t    tagged
  1194.  
  1195. For example 'rlf' means either regular file, link or fifo.
  1196. The 't' type is a little special because it acts on the
  1197. panel instead of the file. The condition '=t t' is true if
  1198. there are tagged files in the current panel and false if
  1199. not.
  1200.  
  1201. If the condition starts with '=?' instead of '=' a debug
  1202. trace will be shown whenever the value of the condition is
  1203. calculated.
  1204.  
  1205. The conditions are calculated from left to right. This
  1206. means
  1207.     = f *.tar.gz | f *.tgz & t n
  1208. is calculated as
  1209.     ( (f *.tar.gz) | (f *.tgz) ) & (t n)
  1210.  
  1211. Here is a sample of the use of conditions:
  1212.  
  1213. = f *.tar.gz | f *.tgz & t n
  1214. L    List the contents of a compressed tar-archive
  1215.     gzip -cd %f | tar xvf -
  1216.  
  1217. Addition Conditions
  1218.  
  1219. If the condition begins with '+' (or '+?') instead of '='
  1220. (or '=?') it is an addition condition. If the condition is
  1221. true the menu entry will be included in the menu. If the
  1222. condition is false the menu entry will not be included in
  1223. the menu.
  1224.  
  1225. You can combine default and addition conditions by
  1226. starting condition with '+=' or '=+' (or '+=?' or '=+?' if
  1227. you want debug trace). If you want to use two different
  1228. conditions, one for adding and another for defaulting, you
  1229. can precede a menu entry with two condition lines, one
  1230. starting with '+' and another starting with '='.
  1231.  
  1232. Comments are started with '#'. The additional comment
  1233. lines must start with '#', space or tab.
  1234.  
  1235. [Options Menu]
  1236. Options Menu
  1237.  
  1238. The ConfigurationConfiguration command pops up a dialog from which you
  1239. can change most of settings of the Midnight Commander.
  1240.  
  1241. The Display bitsDisplay bits command pops up a dialog from which you
  1242. may select which characters is your terminal able to
  1243. display.
  1244.  
  1245. The ConfirmationConfirmation command pops up a dialog from which you
  1246. specify which actions you want to confirm.
  1247.  
  1248. The Learn keysLearn keys command pops up a dialog from which you
  1249. test some keys which are not working on some terminals and
  1250. you may fix them.
  1251.  
  1252. The Virtual FSVirtual FS command pops up a dialog from which you
  1253. specify some VFS related options.
  1254.  
  1255. The LayoutLayout command pops up a dialog from which you specify
  1256. a bunch of options how mc looks like on the screen.
  1257.  
  1258. The Save setupSave Setup command saves the current settings of the
  1259. Left, Right and Options menus. A small number of other
  1260. settings is saved, too.
  1261.  
  1262. [Configuration]
  1263. Configuration
  1264.  
  1265. The program has some options that may be toggled on and
  1266. off from the Configuration dialog. Options are enabled if
  1267. they have an asterisk or "x" in front of them. These
  1268. options are divided into three groups: Screen Colors,
  1269. Panel Options and Other Options.
  1270.  
  1271. Screen Colors
  1272.  
  1273. You can select whether your display supports color or not.
  1274. Normally this information is in the terminfo database. If
  1275. you want to know how to change individual colors see the
  1276. section on Colors.Colors
  1277.  
  1278. Panel Options
  1279.  
  1280. Show Backup Files.  By default the Midnight Commander
  1281. doesn't show files ending in '~' (like GNU's ls option
  1282. -B).
  1283.  
  1284. Show Hidden Files.  By default the Midnight Commander will
  1285. show all files that start with a dot (like ls -a).
  1286.  
  1287. Mark moves down.  By default when you mark a file (with
  1288. either C-t or the Insert key) the selection bar will move
  1289. down.
  1290.  
  1291. Show Mini-Status.  If enabled, show one line of status
  1292. information at the bottom of the panels about the
  1293. currently selected item.
  1294.  
  1295. Mix all files.  When this option is enabled, all files and
  1296. directories are shown mixed together. If the option is
  1297. off, directories (and links to directories) are shown at
  1298. the beginning of the listing, and other files afterwards.
  1299.  
  1300. Fast directory reload.  This option is off by default. If
  1301. you activate the fast reload, the Midnight Commander will
  1302. use a trick to determine if the directory contents have
  1303. changed. The trick is to reload the directory only if the
  1304. i-node of the directory has changed; this means that
  1305. reloads only happen when files are created or deleted. If
  1306. what changes is the i-node for a file in the directory
  1307. (file size changes, mode or owner changes, etc) the
  1308. display is not updated. In these cases, if you have the
  1309. option on, you have to rescan the directory manually (with
  1310. C-r).
  1311.  
  1312. Other Options
  1313.  
  1314. Verbose operation.  This toggles whether the file Copy,
  1315. Rename and Delete operations are verbose (i.e., display a
  1316. dialog box for each operation). If you have a slow
  1317. terminal, you may wish to disable the verbose operation.
  1318. It is automatically turned off if the speed of your
  1319. terminal is less than 9600 bps.
  1320.  
  1321. Pause after run.  After executing your commands, the
  1322. Midnight Commander can pause, so that you can examine the
  1323. output of the command. There are three possible settings
  1324. for this variable: Never  Means that you do not want to see
  1325. the output of your command. If you are using the Linux
  1326. console or an xterm, you will be able to see the output of
  1327. the command by typing C-o. "On dumb terminals"  You will
  1328. get the pause message on terminals that are not capable of
  1329. showing the output of the last command executed (any
  1330. terminal that is not an xterm or the Linux console).
  1331. Always  The program will pause after executing all of your
  1332. commands.
  1333.  
  1334. Shell Patterns.  By default the Select, Unselect and Filter
  1335. commands will use shell-like regular expressions. The
  1336. following conversions are performed to achieve this: the
  1337. '*' is replaced by '.*' (zero or more characters); the '?'
  1338. is replaced by '.' (exactly one character) and '.' by the
  1339. literal dot. If the option is disabled, then the regular
  1340. expressions are the ones described in ed(1).
  1341.  
  1342. Auto Save Setup.  If this option is enabled, when you exit
  1343. the Midnight Commander the configurable options of the
  1344. Midnight Commander are saved in the $HOME/.mc.ini file.
  1345.  
  1346. Auto menus.  If this option is enabled, the user menu will
  1347. be invoked at startup. Useful for building menus for
  1348. non-unixers.
  1349.  
  1350. Use internal viewer.  If this option is enabled, the
  1351. built-in file viewer is used to view files. If the option
  1352. is disabled, the pager specified in the PAGER  environment
  1353. variable is used. If no pager is specified, the view
  1354. command is used. See the section on the internal file
  1355. viewer.Internal File Viewer
  1356.  
  1357. Confirm Delete.  This option is toggled on by default, and
  1358. will cause the Midnight Commander to ask for confirmation
  1359. when deleting a single file.
  1360.  
  1361. Cd follows links.  This option, if set, causes the Midnight
  1362. Commander to follow the logical chain of directories when
  1363. changing current directory either in the panels, or using
  1364. the cd command. This is the default behaviour of bash.
  1365. When unset, the Midnight Commander follows the real
  1366. directory structure, so cd .. if you've entered that
  1367. directory through a link will move you to the current
  1368. directory's real parent and not to the directory where the
  1369. link was present.
  1370.  
  1371. 8-bit clean.  This option allows use of 8-bit characters.
  1372. It requires that curses/ncurses be 8-bit clean. If it
  1373. isn't, things might look strange.
  1374.  
  1375. [Display bits]
  1376. Display bits
  1377.  
  1378. This is used to configure the range of visible characters
  1379. on the screen. This setting may be 7-bits if your
  1380. terminal/curses supports only seven output bits,
  1381. ISO-8859-1 displays all the characters in the ISO-8859-1
  1382. map and full 8 bits is for those terminals that can
  1383. display full 8 bit characters.
  1384.  
  1385. [Confirmation]
  1386. Confirmation
  1387.  
  1388. In this menu you configure the confirmation options for
  1389. file deletion, overwriting and quitting the program.
  1390.  
  1391. [Learn keys]
  1392. Learn keys
  1393.  
  1394. This dialog lets you test if your keys F1-F20, Home, End,
  1395. etc. work properly on your terminal. They often don't,
  1396. since many terminal databases are broken.
  1397.  
  1398. You can move around with the Tab key, with the vi moving
  1399. keys ('h' left, 'j' down, 'k' up and 'l' right) and after
  1400. you press any arrow key once (this will mark it OK), then
  1401. you can use that key as well.
  1402.  
  1403. You test them just by pressing each of them. As soon as
  1404. you press a key and the key works properly, OK should
  1405. appear next to the name of that key. Once a key is marked
  1406. OK it starts to work as usually, e.g. F1 for the first
  1407. time will just check that F1 works OK, but from that time
  1408. on it will show help. The same applies to the arrow keys.
  1409. Tab key should be working always.
  1410.  
  1411. If some keys do not work properly, then you won't see OK
  1412. after the key name after you have pressed that key. You
  1413. may then want to fix it. You do it by pressing the button
  1414. of that key (either by mouse or using Tab and Enter). Then
  1415. a red message will appear and you will be asked to type
  1416. that key. If you want to abort this, press just Esc and
  1417. wait until the message disappears. Otherwise type the key
  1418. you're asked to type and also wait until the dialog
  1419. disappears.
  1420.  
  1421. When you finish with all the keys, you may want either to
  1422. Save your key fixes into your .mc.ini file into the
  1423. [terminal:TERM] section (where TERM is the name of your
  1424. current terminal) or to discard them. If all your keys
  1425. were working properly and you had not to fix any key, then
  1426. (of course) no saving will occur.
  1427.  
  1428. [Virtual FS]
  1429. Virtual FS
  1430.  
  1431. This option gives you control over the settings of the
  1432. Virtual File System Virtual File System information cache.
  1433.  
  1434. The Midnight Commander keeps in memory the information
  1435. related to some of the virtual file systems to speed up
  1436. the access to the files in the file system. Since the
  1437. information that must be kept may be large (for example,
  1438. compressed tar files may be kept in RAM for faster
  1439. access), you may want to tune the parameters of the cached
  1440. information to decrease your memory usage or to maximize
  1441. the speed of access to frequently used file systems.
  1442.  
  1443. The Tar file system is quite clever about how it handles
  1444. tar files: it just loads the directory entries and when it
  1445. needs to use the information contained in the tar file, it
  1446. goes and grab it.
  1447.  
  1448. In the wild, tar files are usually kept compressed (plain
  1449. tar files are species in extinction), and because of the
  1450. nature of those files (the directory entries for the tar
  1451. files is not there waiting for us to be loaded), the tar
  1452. file system has two choices: load the complete,
  1453. uncompressed tar file into memory or uncompress the file
  1454. in the disk in a temporary location and then access the
  1455. uncompressed file as a regular tar file.
  1456.  
  1457. In this dialog box you tell the Midnight Commander which
  1458. sizes for compressed tar files you will tolerate to load
  1459. into your precious memory. The default setting is set to
  1460. one megabyte, this means that compressed tar files whose
  1461. size is at most one megabyte will be loaded into core,
  1462. otherwise a temporary uncompressed tar file will be
  1463. created to access the contents (all of this is transparent
  1464. to the user).
  1465.  
  1466. The program will let you add a suffix to specify the units
  1467. of the number you typed in, use 'k' for kilobyte and 'm'
  1468. for megabyte. Our routine does not accept floating point
  1469. numbers, so you can't use ".5 m" to specify 512 kilobytes,
  1470. you will have to use "512 k" instead.
  1471.  
  1472. Now, since we all love to browse files and tar files all
  1473. over the disk, it's common that you will leave a tar file
  1474. and the re-enter it later. Since uncompression is slow,
  1475. the Midnight Commander will cache the information in
  1476. memory for a limited amount of time, after you hit the
  1477. timeout, all of the memory resources associated with the
  1478. file system will be freed. The default timeout is set to
  1479. one minute.
  1480.  
  1481. [Layout]
  1482. Layout
  1483.  
  1484. The layout dialog gives you a possibility to change the
  1485. general layout of screen. You can specify whether the
  1486. menubar, the command prompt, the hintbar and the function
  1487. keybar are visible. On the Linux console you can specify
  1488. how many lines are shown in the output window.
  1489.  
  1490. The rest of the screen area is used for the two directory
  1491. panels. You can specify whether the area is split to the
  1492. panels in vertical or horizontal direction. The split can
  1493. be equal or you can specify an unequal split.
  1494.  
  1495. [Save Setup]
  1496. Save Setup
  1497.  
  1498. At startup the Midnight Commander will try to load
  1499. initialization information from the $HOME/.mc.ini file. If
  1500. this file doesn't exist, it will load the information from
  1501. the system-wide configuration file, located in
  1502. @prefix@/lib/mc/mc.ini. If the system-wide configuration
  1503. file doesn't exist, MC uses the default settings.
  1504.  
  1505. The Save Setup  command creates the $HOME/.mc.ini file by
  1506. saving the current settings of the Left, RightLeft and Right Menus and
  1507. OptionsOptions Menu menus.
  1508.  
  1509. If you activate the auto save setup  option, MC will always
  1510. save the current settings when exiting.
  1511.  
  1512. There also exist settings which can't be changed from the
  1513. menus. To change these settings you have to edit the setup
  1514. file with your favorite editor. See the section on Special
  1515. SettingsSpecial Settings for more information.
  1516.  
  1517. []
  1518.  
  1519.  
  1520. [Executing operating system commands]
  1521. Executing operating system commands
  1522.  
  1523. You may execute commands by typing them directly in the
  1524. Midnight Commander's input line, or by selecting the
  1525. program you want to execute with the selection bar in one
  1526. of the panels and hitting Enter.
  1527.  
  1528. If you press Enter over a file that is not executable, the
  1529. Midnight Commander checks the extension of the selected
  1530. file against the extensions in the Extensions File.Extension File Edit If a
  1531. match is found then the code associated with that
  1532. extension is executed. A very simple macro expansionMacro Substitution
  1533. takes place before executing the command.
  1534.  
  1535. [The cd internal command]
  1536. The cd internal command
  1537.  
  1538. The cd  command is interpreted by the Midnight Commander,
  1539. it is not passed to the command shell for execution. Thus
  1540. it may not handle all of the nice macro expansion and
  1541. substition that your shell does, although it does some of
  1542. them:
  1543.  
  1544. Tilde substitution  The (~) will be substituted with your
  1545. home directory, if you append a username after the tilde,
  1546. then it will be substituted with the login directory of
  1547. the the specified user.
  1548.  
  1549. For example, ~guest is the home directory for the user
  1550. guest, while ~/guest is the directory guest in your home
  1551. directory.
  1552.  
  1553. Previous directory  You can jump to the directory you were
  1554. previously by using the special directory name '-' like
  1555. this: cd -
  1556.  
  1557. CDPATH directories  If the directory specified to the cd 
  1558. command is not in the current directory, then The Midnight
  1559. Commander uses the value in the environment variable
  1560. CDPATH  to search for the directory in any of the named
  1561. directories.
  1562.  
  1563. For example you could set your CDPATH  variable to
  1564. ~/src:/usr/src, allowing you to change your directory to
  1565. any of the directories inside the ~/src and /usr/src
  1566. directories, from any place in the file system by using
  1567. it's relative name (for example cd linux could take you to
  1568. /usr/src/linux).
  1569.  
  1570. [Macro Substitution]
  1571. Macro Substitution
  1572.  
  1573.  
  1574. When accessing a user menu, Menu File Edit or executing an extension
  1575. dependent command,Extension File Edit or running a command from the command
  1576. line input, a simple macro substitution takes place.
  1577.  
  1578. The macros are:
  1579.  
  1580. "%f"  The current file name.
  1581.  
  1582. "%d"  The current directory name.
  1583.  
  1584. "%F"  The current file in the unselected panel.
  1585.  
  1586. "%D"  The directory name of the unselected panel.
  1587.  
  1588. "%t"  The currently tagged files.
  1589.  
  1590. "%T"  The tagged files in the unselected panel.
  1591.  
  1592. "%u"  and "%U"  Similar to the %t and %T macros, but in
  1593. addition the files are untagged. You can use this macro
  1594. only once per menu file entry or extension file entry,
  1595. because next time there will be no tagged files.
  1596.  
  1597. "%s"  and "%S"  The selected files: The tagged files if
  1598. there are any. Otherwise the current file.
  1599.  
  1600. "%q"  Dropped files. In all places except in the Drop
  1601. action of the mc.ext file,Extension File Edit this will become a null
  1602. string, in the Drop action it will be replaced with a
  1603. space separated list of files that were dropped on the
  1604. file.
  1605.  
  1606. "%cd"  This is a special macro that is used to change the
  1607. current directory to the directory specified in front of
  1608. it. This is used primarily as an interface to the Virtual
  1609. File System.Virtual File System
  1610.  
  1611. "%view"  This macro is used to invoke the internal viewer.
  1612. This macro can be used alone, or with arguments. If you
  1613. pass any arguments to this macro, they should be enclosed
  1614. in brackets. The arguments are: ascii  to force the viewer
  1615. into ascii mode; hex  to force the viewer into hex mode;
  1616. nroff  to tell the viewer that it should interpret the bold
  1617. and underline sequences of nroff; unformated  to tell the
  1618. viewer to not interpret nroff commands for making the text
  1619. bold or underlined.
  1620.  
  1621. "%%"  The % character
  1622.  
  1623. "%{some text}"  Prompt for the substitution. An input box
  1624. is shown and the text inside the braces is used as a
  1625. prompt. The macro is substituted by the text typed by the
  1626. user. The user can press ESC or F10 to cancel. This macro
  1627. doesn't work on the command line yet.
  1628.  
  1629. [The subshell support]
  1630. The subshell support
  1631.  
  1632. The subshell support is a compile time option, that works
  1633. with the shells: bash, tcsh and zsh.
  1634.  
  1635. When the subshell code is activated the Midnight Commander
  1636. will spawn a concurrent copy of your shell (the one
  1637. defined in the SHELL  variable and if it is not defined,
  1638. then the one in the /etc/passwd file) and run it in a
  1639. pseudo terminal, instead of invoking a new shell each time
  1640. you execute a command, the command will be passed to the
  1641. subshell as if you had typed it. This also allows you to
  1642. change the environment variables, use shell functions and
  1643. define aliases that are valid until you quit the Midnight
  1644. Commander.
  1645.  
  1646. If you are using bash  you can specify startup commands for
  1647. the subshell in your ~/.mc.bashrc file and special
  1648. keyboard maps in the ~/.mc.inputrc file. tcsh   users may
  1649. specify startup commands in the ~/.mc.tcshrc file.
  1650.  
  1651. When the subshell code is used, you can suspend
  1652. applications at any time with the sequence C-o and jump
  1653. back to the Midnight Commander, if you interrupt an
  1654. application, you will not be able to run other external
  1655. commands until you quit the application you interrupted.
  1656.  
  1657. An extra added feature of using the subshell is that the
  1658. prompt displayed by the Midnight Commander is the same
  1659. prompt that you are currently using in your shell.
  1660.  
  1661. The OPTIONS section has more information on how you can
  1662. control the subshell code.
  1663.  
  1664. [Controlling Midnight Commander]
  1665. Controlling Midnight Commander
  1666.  
  1667. The Midnight Commander defines an environment variable
  1668. MC_CONTROL_FILE. The commands executed by MC may give
  1669. instructions to MC by writing to the file specified by
  1670. this variable. This is only available if you compiled your
  1671. copy of the Midnight Commander with the WANT_PARSE option.
  1672.  
  1673. The following instructions are supported.
  1674.  
  1675. clear_tags        Clear all tags.
  1676. tag <filename>        Tag specified file.
  1677. untag <filename>    Untag specified file.
  1678. select <filename>    Move pointer to file.
  1679. change_panel        Switch between panels.
  1680. cd <path>        Change directory.
  1681.  
  1682. If the first letter of the instruction is in lower case it
  1683. operates on the current panel. If the letter is in upper
  1684. case the instruction operates on the other panel. The
  1685. additional letters must be in lower case. Instructions
  1686. must be separated by exactly one space, tab or newline.
  1687. The instructions don't work in the Info, Tree and Quick
  1688. views. The first error causes the rest to be ignored.
  1689.  
  1690. [Chmod]
  1691. Chmod
  1692.  
  1693. The Chmod window is used to change the attribute bits in a
  1694. group of files and directories. It can be invoked with the
  1695. C-x c key combination.
  1696.  
  1697. The Chmod window has two parts - Permissions  and File
  1698.  
  1699. In the File section are displayed the name of the file or
  1700. directory and its permissions in octal form, as well as
  1701. its owner and group.
  1702.  
  1703. In the Permissions section there is a set of check buttons
  1704. which correspond to the file attribute bits. As you change
  1705. the attribute bits, you can see the octal value change in
  1706. the File section.
  1707.  
  1708. To move between the widgets (buttons and check buttons)
  1709. use the arrow keys  or the Tab  key. To change the state of
  1710. the check buttons or to select a button use Space.  You can
  1711. also use the hotkeys on the buttons to quickly activate
  1712. that selection (they are the highlit letters on the
  1713. buttons).
  1714.  
  1715. To set the attribute bits, use the Enter key.
  1716.  
  1717. When working with a group of files or directories, you
  1718. just click on the bits you want to set or clear. Once you
  1719. have selected the bits you want to change, you select one
  1720. of the action buttons (Set marked or Clear marked).
  1721.  
  1722. Finally, to set the attributes exactly to those specified,
  1723. you can use the [Set all]  button, which will act on all
  1724. the tagged files.
  1725.  
  1726. [Marked all]  set only marked attributes to all selected
  1727. files
  1728.  
  1729. [Set marked]  set marked bits in attributes of all selected
  1730. files
  1731.  
  1732. [Clean marked]  clear marked bits in attributes of all
  1733. selected files
  1734.  
  1735. [Set]  set the attributes of one file
  1736.  
  1737. [Cancel]  cancel the Chmod command
  1738.  
  1739. [Chown]
  1740. Chown
  1741.  
  1742. The Chown command is used to change the owner/group of a
  1743. file. The hot key for this command is C-x o.
  1744.  
  1745. [File Operations]
  1746. File Operations
  1747.  
  1748. When you copy, move or delete files the Midnight Commander
  1749. shows the file operations dialog. It shows the files
  1750. currently being operated on and there are at most three
  1751. progress bars. The file bar tells how big part of the
  1752. current file has been copied so far. The count bar tells
  1753. how many of tagged files have been handled so far. The
  1754. bytes bar tells how big part of total size of the tagged
  1755. files has been handled so far. If the verbose option is
  1756. off the file and bytes bars are not shown.
  1757.  
  1758. There are two buttons at the bottom of the dialog.
  1759. Pressing the Skip button will skip the rest of the current
  1760. file. Pressing the Abort button will abort the whole
  1761. operation, the rest of the files are skipped.
  1762.  
  1763. There are three other dialogs which you can run into
  1764. during the file operations.
  1765.  
  1766. The error dialog informs about error conditions and has
  1767. three choices. Normally you select either the Skip button
  1768. to skip the file or the Abort button to abort the
  1769. operation altogether. You can also select the Retry button
  1770. if you fixed the problem from another terminal.
  1771.  
  1772. The replace dialog is shown when you attempt to copy or
  1773. move a file on the top of an existing file. The dialog
  1774. shows the dates and sizes of the both files. Press the Yes
  1775. button to overwrite the file, the No button to skip the
  1776. file, the alL button to overwrite all the files, the nonE
  1777. button to never overwrite and the Update button to
  1778. overwrite if the source file is newer than the target
  1779. file. You can abort the whole operation by pressing the
  1780. Abort button.
  1781.  
  1782. The recursive delete dialog is shown when you try to
  1783. delete a directory which is not empty. Press the Yes
  1784. button to delete the directory recursively, the No button
  1785. to skip the directory, the alL button to delete all the
  1786. directories and the nonE button to skip all the non-empty
  1787. directories. You can abort the whole operation by pressing
  1788. the Abort button. If you selected the Yes or alL button
  1789. you will be asked for a confirmation. Type "yes" only if
  1790. you are really sure you want to do the recursive delete.
  1791.  
  1792. If you have tagged files and perform an operation on them
  1793. only the files on which the operation succeeded are
  1794. untagged. Failed and skipped files are left tagged.
  1795.  
  1796. [Mask Copy/Rename]
  1797. Mask Copy/Rename
  1798.  
  1799. The copy/move operations lets you translate the names of
  1800. files in an easy way. To do it, you have to specify the
  1801. correct source mask and usually in the trailing part of
  1802. the destination specify some wildcards. All the files
  1803. matching the source mask are copied/renamed according to
  1804. the target mask. If there are tagged files, only the
  1805. tagged files matching the source mask are renamed.
  1806.  
  1807. There are other option which you can set:
  1808.  
  1809. Follow symlinks tells whether make the symlinks in the
  1810. source directory (not recursively in subdirectories) new
  1811. symlinks in the target directory or whether would you like
  1812. to copy their content.
  1813.  
  1814. Dive into subdirs tells what to do if in the target
  1815. directory exists a directory with the same name as the
  1816. file/directory being copied. The default action is to copy
  1817. it into that directory, by disabling this you can copy a
  1818. directory's content into that directory. Perhaps an
  1819. example will help:
  1820.  
  1821. You want to copy content of a directory foo to /bla/foo,
  1822. which is an already existing directory. Normally (when
  1823. Dive is set), mc would copy the content into /bla/foo/foo,
  1824. 'cause the directory already exists. By disabling this
  1825. option you will copy it exactly into /bla/foo.
  1826.  
  1827. If you are root, you can set Preserve UIDs/GIDs, if you
  1828. want to get the same owner and group of new files as the
  1829. ones of the source files.
  1830.  
  1831. "Use shell patterns on"
  1832.  
  1833. When the shell patterns option is on you can use the '*'
  1834. and '?' wildcards in the source mask. They work like they
  1835. do in the shell. In the target mask only the '*' and
  1836. '\<digit>' wildcards is allowed. The first '*' wildcard in
  1837. the target mask corresponds to the first wildcard group in
  1838. the source mask, the second '*' corresponds to the second
  1839. group and so on. The '\1' wildcard corresponds to the
  1840. first wildcard group in the source mask, the '\2' wildcard
  1841. corresponds to the second group and so on all the way up
  1842. to '\9'. The '\0' wildcard is the whole filename of the
  1843. source file.
  1844.  
  1845. Two examples:
  1846.  
  1847. If the source mask is "*.tar.gz", the destination is
  1848. "/bla/*.tgz" and the file to be copied is "foo.tar.gz",
  1849. the copy will be "foo.tgz" in "/bla".
  1850.  
  1851. Let's suppose you want to swap basename and extension so
  1852. that "file.c" will become "c.file" and so on. The source
  1853. mask for this is "*.*" and the destination is "\2.\1".
  1854.  
  1855. "Use shell patterns off"
  1856.  
  1857. When the shell patterns option is off the MC doesn't do
  1858. automatic grouping anymore. You must use '\(...\)'
  1859. expressions in the source mask to specify meaning for the
  1860. wildcards in the target mask. This is more flexible but
  1861. also requires more typing. Otherwise target masks are
  1862. similar to the situation when the shell patterns option is
  1863. on.
  1864.  
  1865. Two examples:
  1866.  
  1867. If the source mask is "^\(.*\)\.tar\.gz$", the destination
  1868. is "/bla/*.tgz" and the file to be copied is "foo.tar.gz",
  1869. the copy will be "/bla/foo.tgz".
  1870.  
  1871. Let's suppose you want to swap basename and extension so
  1872. that "file.c" will become "c.file" and so on. The source
  1873. mask for this is "^\(.*\)\.\(.*\)$" and the destination is
  1874. "\2.\1".
  1875.  
  1876. "Case Conversions"
  1877.  
  1878. You can also change the case of the filenames. If you use
  1879. '\u' or '\l' in the target mask the next character will be
  1880. converted to uppercase or lowercase correspondingly.
  1881.  
  1882. If you use '\U' or '\L' in the target mask the next
  1883. characters will be converted to uppercase or lowercase
  1884. correspondingly up to the next '\E' or next '\U', '\L' or
  1885. the end of the file name.
  1886.  
  1887. The '\u' and '\l' are stronger than '\U' and '\L'.
  1888.  
  1889. For example, if the source mask is '*' (shell patterns on)
  1890. or '^\(.*\)$' (shell patterns off) and the target mask is
  1891. '\L\u*' the file names will be converted to have initial
  1892. upper case and otherwise lower case.
  1893.  
  1894. You can also use '\' as a quote character. For example,
  1895. '\\' is a backslash and '\*' is an asterisk.
  1896.  
  1897. [Internal File Viewer]
  1898. Internal File Viewer
  1899.  
  1900. The internal file viewer provides two display modes: ASCII
  1901. and hex. To toggle between modes, use the F4 key. If you
  1902. have the GNU gzip program installed, it will be used to
  1903. automatically decompress the files on demand.
  1904.  
  1905. The viewer will try to use the best method provided by
  1906. your system or the file type to display the information.
  1907. The internal file viewer will interpret some string
  1908. sequences to set the bold and underline attributes, thus
  1909. making a pretty display of your files.
  1910.  
  1911. When in hex mode, the search function accepts text in
  1912. quotes as well as hexadecimal constants.
  1913.  
  1914. You can mix quoted text with constants like this: "String"
  1915. 0xFE 0xBB "more text". Text between constants and quoted
  1916. text is just ignored.
  1917.  
  1918. Some internal details about the viewer: On systems that
  1919. provide the mmap(2) system call, the program maps the file
  1920. instead of loading it; if the system does not provide the
  1921. mmap(2) system call or the file matches an action that
  1922. requires a filter, then the viewer will use it's growing
  1923. buffers, thus loading only those parts of the file that
  1924. you actually access (this includes compressed files).
  1925.  
  1926. Here is a listing of the actions associated with each key
  1927. that the Midnight Commander handles in the internal file
  1928. viewer.
  1929.  
  1930. F1  Invoke the builtin hypertext help viewer.
  1931.  
  1932. F2  Toggle the wrap mode.
  1933.  
  1934. F4  Toggle the hex mode.
  1935.  
  1936. F5  Goto line. This will prompt you for a line number and
  1937. will display that line.
  1938.  
  1939. F6, /.   Regular expression search.
  1940.  
  1941. ?,  Reverse regular expression search.
  1942.  
  1943. F7  Normal search / hex mode search.
  1944.  
  1945. C-s.  Start normal search if there was no previous search
  1946. expression else find next match.
  1947.  
  1948. C-r.  Start reverse search if there was no previous search
  1949. expression else find next match.
  1950.  
  1951. n.  Find next match.
  1952.  
  1953. F8  Toggle Raw/Parsed mode: This will show the file as
  1954. found on disk or if a processing filter has been specified
  1955. in the mc.ext file, then the output from the filter.
  1956. Current mode is always the other than written on the
  1957. button label, since on the button is the mode which you
  1958. enter by that key.
  1959.  
  1960. F9  Toggle the format/unformat mode: when format mode is on
  1961. the viewer will interpret some string sequences to show
  1962. bold and underline with different colors. Also, on button
  1963. label is the other mode than current.
  1964.  
  1965. F10, Esc.  Exit the internal file viewer.
  1966.  
  1967. next-page, space, C-v.  Scroll one page forward.
  1968.  
  1969. prev-page, M-v, C-b, backspace.  Scroll one page backward.
  1970.  
  1971. down-key  Scroll one line forward.
  1972.  
  1973. up-key  Scroll one line backward.
  1974.  
  1975. C-l  Refresh the screen.
  1976.  
  1977. !  Spawn a shell in the currently working directory.
  1978.  
  1979. "[n] m"  Set the mark n.
  1980.  
  1981. "[n] r"  Jump to the mark n.
  1982.  
  1983. C-f  Jump to the next file.
  1984.  
  1985. C-b   Jump to the previous file.
  1986.  
  1987. It's possible to instruct the file viewer how to display a
  1988. file, look at the Extension File Edit sectionExtension File Edit[Completion]
  1989. Completion
  1990.  
  1991.  
  1992. Let the Midnight Commander type for you.
  1993.  
  1994. Attempt to perform completion on the text before current
  1995. position. MC attempts completion treating the text as
  1996. variable (if the text begins with $  ), username (if the
  1997. text begins with ~  ), hostname (if the text begins with @
  1998. ) or command (if you are on the command line in the
  1999. position where you might type a command, possible
  2000. completions then include shell reserved words and shell
  2001. builtin commands as well) in turn. If none of these
  2002. produces a match, filename completion is attempted.
  2003.  
  2004. Filename, username, variable and hostname completion works
  2005. on all input lines, command completion is command line
  2006. specific. If the completion is ambiguous (there are more
  2007. different possibilities), MC beeps and the following
  2008. action depends on the setting of the show_all_if_ambiguousSpecial
  2009. Settingsvariable in the Initialization file. If it is nonzero, a
  2010. list of all possibilities pops up next to the current
  2011. position and you can select with the arrow keys and Enter
  2012. the correct entry. You can also type the first letters in
  2013. which the possibilities differ to move to a subset of all
  2014. possibilities and complete as much as possible. If you
  2015. press M-Tab  again, only the subset will be shown in the
  2016. listbox, otherwise the first item which matches all the
  2017. previous characters will be highlighted. As soon as there
  2018. is no ambiguity, dialog disappears, but you can hide it by
  2019. canceling keys Esc,  F10  and left and right arrow keys. If
  2020. show_all_if_ambiguousSpecial Settings is set to zero, the dialog pops up
  2021. only if you press M-Tab  for the second time, for the first
  2022. time MC just beeps.
  2023.  
  2024. [Virtual File System]
  2025. Virtual File System
  2026.  
  2027. The Midnight Commander is provided with a code layer to
  2028. access the file system; this code layer is known as the
  2029. virtual file system switch. The virtual file system switch
  2030. allows the Midnight Commander to manipulate files not
  2031. located on the Unix file system.
  2032.  
  2033. Currently the Midnight Commander is packaged with five
  2034. Virtual File Systems (VFS): the local file system, used
  2035. for accessing the regular Unix file system; the ftpfs,
  2036. used to manipulate files on remote systems with the FTP
  2037. protocol; the tarfs, used to manipulate tar and compressed
  2038. tar files; the undelfs, used to recover deleted files on
  2039. ext2 file systems (the default file system for Linux
  2040. systems) and finally the mcfs (Midnight Commander file
  2041. system), a network based file system.
  2042.  
  2043. The VFS switch code will interpret all of the path names
  2044. used and will forward them to the correct file system, the
  2045. formats used for each one of the file systems is described
  2046. later in their own section.
  2047.  
  2048. [FTP File System]
  2049. FTP File System
  2050.  
  2051. The ftpfs allows you to manipulate files on remote
  2052. machines, to actually use it, you may try to use the panel
  2053. command FTP link (accesible from the menubar) or you may
  2054. directly change your current directory to it using the cd
  2055. command to a path name that looks like this:
  2056.  
  2057. ftp://[user@]machine[remote-dir]
  2058.  
  2059. The, user, port  and remote-dir  elements are optional. If
  2060. you specify the user  element, then the Midnight Commander
  2061. will try to logon on the mremote machine as that user,
  2062. otherwise it will use your login name.
  2063.  
  2064. Examples:
  2065.  
  2066.     ftp://ftp.nuclecu.unam.mx/linux/local
  2067.     ftp://tsx-11.mit.edu/pub/linux/packages
  2068.  
  2069. The Midnight Commander keeps the directory listing in a
  2070. cache. The cache expire time is configurable in the
  2071. Virtual File System Virtual FS dialog box. This has the funny
  2072. behavior that even if you make changes to a directory,
  2073. they will not be reflected in the directory listing until
  2074. you force a cache reload with the C-r key. This is a
  2075. feature (when you think it's a bug, think about
  2076. manipulating files on the other side of the Atlantic with
  2077. ftpfs).
  2078.  
  2079. [Tar File System]
  2080. Tar File System
  2081.  
  2082. The tar file system provides you with read-only access to
  2083. your tar files and compressed tar files by using the chdir
  2084. command. To change your directory to a tar file, you
  2085. change your current directory to the tar file by using the
  2086. following syntax:
  2087.  
  2088. tar:filename.tar[dir-inside-tar]
  2089.  
  2090. The mc.ext file already provides a shortcut for tar files,
  2091. this means that usually you just point to a tar file and
  2092. press return to enter into the tar file, see the Extension
  2093. File Edit Extension File Edit section for details on how this is done.
  2094.  
  2095. Examples:
  2096.  
  2097.     tar:mc-3.0.tar.gz/mc-3.0/vfs
  2098.     tar:/ftp/GCC/gcc-2.7.0.tar
  2099.  
  2100. The latter specifies the full path of the tar archive.
  2101.  
  2102. [Network File System]
  2103. Network File System
  2104.  
  2105. The Midnight Commander file system is a network base file
  2106. system that allows you to manipulate the files in a remote
  2107. machine as if they were local. To use this, the remote
  2108. machine must be running the mcserv(8) server program.
  2109.  
  2110. To connect to a remote machine, you just need to chdir
  2111. into a special directory which name is in the following
  2112. format:
  2113.  
  2114. mc:[user@]machine[:port][remote-dir]
  2115.  
  2116. The, user, port  and remote-dir  elements are optional. If
  2117. you specify the user  element then the Midnight Commander
  2118. will try to logon on the remote machine as that user,
  2119. otherwise it will use your login name.
  2120.  
  2121. The port  element is used when the remote machine running
  2122. on a special port (see the mcserv(8) manual page for more
  2123. information about ports); finally, if the remote-dir
  2124. element is present, your current directory on the remote
  2125. machine will be set to this one.
  2126.  
  2127. Examples:
  2128.  
  2129.     mc:ftp.nuclecu.unam.mx/linux/local
  2130.     mc:joe@foo.edu:11321/private
  2131.  
  2132. [Undelete File System]
  2133. Undelete File System
  2134.  
  2135. On Linux systems, if you asked configure to use the ext2fs
  2136. undelete facilities, you will have the undelete file
  2137. system available. Recovery of deleted files is only
  2138. available on ext2 file systems. The undelete file system
  2139. is just an interface to the ext2fs library to: retrieve
  2140. all of the deleted files names on an ext2fs and provides
  2141. and to extract the selected files into a regular
  2142. partition.
  2143.  
  2144. To use this file system, you have to chdir into the
  2145. special file name formed by the "undel:" prefix and the
  2146. file name where the actual file system resides.
  2147.  
  2148. For example, to recover deleted files on the second
  2149. partition of the first scsi disk on Linux, you would use
  2150. the following path name:
  2151.  
  2152.     undel:/dev/sda2
  2153.  
  2154. It may take a while for the undelfs to load the required
  2155. information before you start browsing files there.
  2156.  
  2157. [Colors]
  2158. Colors
  2159.  
  2160. The Midnight Commander will try to detect if your terminal
  2161. supports color using the terminal database and your
  2162. terminal name. Sometimes it gets confused, so you may
  2163. force color mode or disable color mode using the -c and -b
  2164. flag respectively.
  2165.  
  2166. If the program is compiled with the Slang screen manager
  2167. instead of ncurses, it will also check the variable
  2168. COLORTERM,  if it is set, it has the same effect as the -c
  2169. flag.
  2170.  
  2171. The program can be compiled with both ncurses and slang,
  2172. ncurses does not provide a way to force color mode:
  2173. ncurses uses just the information in the terminal
  2174. database.
  2175.  
  2176. The Midnight Commander provides a way to change the
  2177. default colors. Currently the colors are configured using
  2178. the environment variable MC_COLOR_TABLE   or the Colors
  2179. section in the initialization file.
  2180.  
  2181. In the Colors section, the default color map is loaded
  2182. from the base_color   variable. You can specify an
  2183. alternate color map for a terminal by using the terminal
  2184. name as the key in this section. Example:
  2185.  
  2186. [Colors]
  2187. base_color=
  2188. xterm=menu=magenta:marked=,magenta:markselect=,red
  2189.  
  2190. The format for the color definition is:
  2191.  
  2192.   <keyword>=<foregroundcolor>,<backgroundcolor>:<keyword>= ...
  2193.  
  2194. The colors are optional, and the keywords are: normal,
  2195. selected, marked, markselect, errors, reverse menu,
  2196. menusel, menuhot, menuhotsel, gauge; the dialog colors
  2197. are: dnormal, dfocus, dhotnormal, dhotfocus; Help colors
  2198. are: helpnormal, helpitalic, helpbold, helplink,
  2199. helpslink; Viewer color is: viewunderline.
  2200.  
  2201. The dialog boxes use the following colors: dnormal   is
  2202. used for the normal text, dfocus  is the color used for the
  2203. currently selected component, dhotnormal  is the color used
  2204. to differentiate the hotkey color in normal components,
  2205. whereas the dhotfocus  color is used for the highlighted
  2206. color in the currently selected component.
  2207.  
  2208. Menus use the same scheme but uses the menu, menusel,
  2209. menuhot and menuhotsel tags instead.
  2210.  
  2211. Help uses the following colors: helpnormal  is used for
  2212. normal text, helpitalic  is used for text which is
  2213. emphasized in italic in the manual page, helpbold  is used
  2214. for text which is emphasized in bold in the manual page,
  2215. helplink  is used for not selected hyperlinks and helpslink
  2216. is used for selected hyperlink.
  2217.  
  2218. gauge  determines color of filled part of the progress bar
  2219. (gauge), which shows how many percent of files were copied
  2220. etc. in a graphical way.
  2221.  
  2222. The possible colors are: black, red, green, brightgreen,
  2223. brown, yellow, blue, brightblue, magenta, brightmagenta,
  2224. cyan, brightcyan, lightgray and white.
  2225.  
  2226. If you are setting the colors from your private setup, you
  2227. could use this format:
  2228.  
  2229. colors=menu=magenta:marked=,magenta:markselect=,red
  2230.  
  2231. [Special Settings]
  2232. Special Settings
  2233.  
  2234. Most of the settings of the Midnight Commander can be
  2235. changed from the menus. However, there are a small number
  2236. of settings which can only be changed by editing the setup
  2237. file.
  2238.  
  2239. These variables may be set in your $HOME/.mc.ini file:
  2240.  
  2241. clear_before_exec.  By default the Midnight Commander
  2242. clears the screen before executing a command. If you would
  2243. prefer to see the output of the command at the bottom of
  2244. the screen, edit your ~/mc.ini file and change the value
  2245. of the field clear_before_exec to 0.
  2246.  
  2247. confirm_view_dir.  If you press F3 on a directory, normally
  2248. MC enters that directory. If this flag is set to 1, then
  2249. MC will ask for confirmation before changing the directory
  2250. if you have files tagged.
  2251.  
  2252. drop_menus.  If this variable is set, when you press the F9
  2253. key, the pull down menus will be activated, else, you will
  2254. only be presented with the menu title, and you will have
  2255. to select the entry with the arrow keys or the first
  2256. letter and from there select your option in the menu.
  2257.  
  2258. ftpfs_retry_seconds.  This value is the number of seconds
  2259. the Midnight Commander will wait before attempting a
  2260. reconnection to an ftp server that has denied the login.
  2261. If the value is zero, the the program will not retry the
  2262. login.
  2263.  
  2264. max_dirt_limit.  Specifies how many screen updates can be
  2265. skipped at most in the internal file viewer. Normally this
  2266. value is not significant, because the code automatically
  2267. adjusts the number of updates to skip according to the
  2268. rate of incoming keypresses. However, on very slow
  2269. machines or terminals with a fast keyboard auto repeat, a
  2270. big value can make screen updates too jumpy. It seems that
  2271. setting max_dirt_limit to 10 causes the best behavior, and
  2272. that is the default value.
  2273.  
  2274. mouse_move_pages.  Controls whenever scrolling with the
  2275. mouse is done by pages or line by line on the panels.
  2276.  
  2277. mouse_move_pages_viewer.  Controls if scrolling with the
  2278. mouse is done by pages or line by line on the internal
  2279. file viewer.
  2280.  
  2281. navigate_with_arrows.  If this setting is turned on, then
  2282. you may use the arrows keys to automatically chdir if the
  2283. current selection is a subdirectory and the shell command
  2284. line is empty. By default, this setting is off.
  2285.  
  2286. nice_rotating_dash  When on, this flag causes the commander
  2287. to show a rotating dash as a work in progress indicator.
  2288.  
  2289. old_esc_mode  By default the Midnight Commander treats the
  2290. ESC key as a key prefix (old_esc_mode=0), if you set this
  2291. option (old_esc_mode=1), then the ESC key will act as a
  2292. prefix key for one second, and if no extra keys have
  2293. arrived, then the ESC key is interpreted as a cancel key
  2294. (ESC ESC).
  2295.  
  2296.  
  2297. only_leading_plus_minus  set special treatment for '+',
  2298. '-', '*' in command line (select, unselect, reverse
  2299. selection) only if command line is empty. No need to qoute
  2300. this characters in the middle of the command line. But we
  2301. can not change selection when command line is not empty.
  2302. panel_scroll_pages  If set (the default), panel will scroll
  2303. by half the display when the cursor reaches the end or the
  2304. beginning of the panel, otherwise it will just scroll a
  2305. file at a time.
  2306.  
  2307. preserve_uidgid  If this option is set (the default), when
  2308. logged in as root the default will be to preserve the UID
  2309. and the GID of files. Some users prefer to disable this
  2310. option, so that's why it's configurable.
  2311.  
  2312. show_output_starts_shell  This variable only works if you
  2313. are not using the subshell support. When you use the C-o
  2314. keystroke to go back to the user screen, if this one is
  2315. set, you will get a fresh shell. Otherwise, pressing any
  2316. key will bring you back to the Midnight Commander.
  2317.  
  2318. show_all_if_ambiguous.  By default the Midnight Commander
  2319. pops up all possible completionsCompletion if the completion is
  2320. ambiguous if you press M-Tab  for the second time, for the
  2321. first time it just completes as much as possible and in
  2322. the case of ambiguity beeps. If you want to see all the
  2323. possible completions already after the first M-Tab
  2324. pressing, set this option to 1.
  2325.  
  2326. torben_fj_mode  If this flag is set, then the home and end
  2327. keys will work slightly different on the panels, instead
  2328. of moving the selection to the first and last files in the
  2329. panels, they will act as follows: The home key will: Go up
  2330. to the middle line, if below it; else go to the top line
  2331. unless it is already on the top line, in this case it will
  2332. go to the first file in the panel. The end key has a
  2333. similar behavior: Go down to the middle line, if over it;
  2334. else go to the bottom line unless you already are at the
  2335. bottom line, in such case it will move the selection to
  2336. the last file name in the panel.
  2337.  
  2338. use_file_to_guess_type  If this variable is on (the
  2339. default) it will spawn the file command to match the file
  2340. types listed on the mc.ext file.Extension File Edit
  2341.  
  2342. xterm_mode  If this variable is on (default is off) when
  2343. you browse the file system on a Tree panel, it will
  2344. automatically reload the other panel with the contents of
  2345. the selected directory.
  2346.  
  2347. [Terminal databases]
  2348. Terminal databases
  2349.  
  2350. The Midnight Commander provides a way to fix your system
  2351. terminal database without requiring root privileges. The
  2352. Midnight Commander searches in the system initialization
  2353. file (the mc.lib file located in the Midnight Commander
  2354. library directory) or in the $HOME/.mc.ini file for the
  2355. section "terminal:your-terminal-name" and then for the
  2356. section "terminal:general", each line of the section
  2357. contains a key symbol that you want to define, followed by
  2358. an equal sign and the definition for the key. You can use
  2359. the special \E form to represent the escape character and
  2360. the ^x to represent the control-x character.
  2361.  
  2362. The possible key symbols are:
  2363.  
  2364. f0 to f20     Function keys f0-f20
  2365. bs          backspace
  2366. home          home key
  2367. end           end key
  2368. up            up arrow key
  2369. down          down arrow key
  2370. left          left arrow key
  2371. right         right arrow key
  2372. pgdn          page down key
  2373. pgup          page up key
  2374. insert        the insert character
  2375. delete        the delete character
  2376. complete      to do completion
  2377.  
  2378. For example, to define the key insert to be the Escape + [
  2379. + O + p, you set this in the ini file:
  2380.  
  2381. insert=\\E[Op
  2382.  
  2383. The complete  key symbol represents the escape sequences
  2384. used to invoke the completion process, this is invoked
  2385. with M-tab, but you can define other keys to do the same
  2386. work (on those keyboard with tons of nice and unused keys
  2387. everywhere).
  2388.  
  2389. []
  2390.  
  2391.  
  2392. [FILES]
  2393. FILES
  2394.  
  2395. @prefix@/lib/mc.hlp The help file for the program.
  2396.  
  2397. @prefix@/lib/mc/mc.ext The default system-wide extensions
  2398. file.
  2399.  
  2400. $HOME/.mc.ext User's own extension, view configuration and
  2401. edit configuration file. They override the contents of the
  2402. system wide files if present.
  2403.  
  2404. @prefix@/lib/mc/mc.ini The default system-wide setup for
  2405. the Midnight Commander, used only if the user lacks his
  2406. own ~/.mc.ini file.
  2407.  
  2408. @prefix@/lib/mc/mc.lib Global settings for the Midnight
  2409. Commander. Settings in this file are global to any
  2410. Midnight Commander, it is useful to define site-global
  2411. terminal settings.
  2412.  
  2413. $HOME/.mc.ini User's own setup. If this file is present
  2414. then the setup is loaded from here instead of the
  2415. system-wide startup file.
  2416.  
  2417. @prefix@/lib/mc/mc.hint This file contains the hints
  2418. (cookies) displayed by the program.
  2419.  
  2420. @prefix@/lib/mc/mc.menu This file contains the default
  2421. system-wide applications menu.
  2422.  
  2423. $HOME/.mc.menu User's own application menu. If this file
  2424. is present it is used instead of the system-wide
  2425. applications menu.
  2426.  
  2427. $HOME/.mc.tree The directory list for the directory tree
  2428. and tree view features. Each line is one entry. The lines
  2429. starting with a slash are full directory names. The lines
  2430. starting with a number have that many characters equal to
  2431. the previous directory. If you want you may create this
  2432. file by giving the command "find / -type d -print | sort >
  2433. ~/.mc.tree". Normally there is no sense in doing it
  2434. because the Midnight Commander automatically updates this
  2435. file for you.
  2436.  
  2437. [AVAILABILITY]
  2438. AVAILABILITY
  2439.  
  2440. The latest version of this program can be found at
  2441. ftp.nuclecu.unam.mx in the directory /linux/local and from
  2442. Europe at ftp.cvut.cz in the directory /pub/mc.[SEE ALSO]
  2443. SEE ALSO
  2444.  
  2445. ed(1), gpm(1), mcserv(8), terminfo(1), view(1), sh(1),
  2446. bash(1), tcsh(1), zsh(1).
  2447.  
  2448. The Midnight Commander page on the World Wide Web:
  2449.     http://stekt.oulu.fi/~jtklehto/mc/
  2450.  
  2451. [AUTHORS]
  2452. AUTHORS
  2453.  
  2454. Miguel de Icaza (miguel@roxanne.nuclecu.unam.mx), Janne
  2455. Kukonlehto (jtklehto@paju.oulu.fi), Radek Doulik
  2456. (rodo@earn.cvut.cz), Fred Leeflang (fredl@nebula.ow.org),
  2457. Dugan Porter (dugan@b011.eunet.es), Jakub Jelinek
  2458. (jj@jfch.vc.cvut.cz), Ching Hui (u811563@Oz.nthu.edu.tw),
  2459. and Mauricio Plaza (mok@roxanne.nuclecu.unam.mx) are the
  2460. developers of this package; Alessandro Rubini
  2461. (rubini@ipvvis.unipv.it) has been especially helpful
  2462. debugging and enhancing the program's mouse support, John
  2463. Davis (davis@space.mit.edu) also made his S-Lang library
  2464. available to us under the GPL and answered my questions
  2465. about it, and the following people have contributed code
  2466. and many bug fixes (in alphabetical order):
  2467.  
  2468. Adam Tla/lka (atlka@sunrise.pg.gda.pl), Antonio Palama,
  2469. DOS port (palama@posso.dm.unipi.it), Erwin van Eijk
  2470. (wabbit@corner.iaf.nl), Gerd Knorr
  2471. (kraxel@cs.tu-berlin.de), Jean-Daniel Luiset
  2472. (luiset@cih.hcuge.ch), Jon Stevens
  2473. (root@dolphin.csudh.edu), Juan Jose Ciarlante
  2474. (jjciarla@raiz.uncu.edu.ar), Ilya Rybkin
  2475. (rybkin@rouge.phys.lsu.edu), Marcelo Roccasalva
  2476. (mfroccas@raiz.uncu.edu.ar), Massimo Fontanelli
  2477. (MC8737@mclink.it), Sergey Ya. Korshunoff
  2478. (root@seyko.msk.su), Thomas Pundt
  2479. (pundtt@math.uni-muenster.de), Torben Fjerdingstad
  2480. (tfj@olivia.ping.dk), Vadim Sinolitis
  2481. (vvs@nsrd.npi.msu.su) and Wim Osterholt
  2482. (wim@djo.wtm.tudelft.nl).
  2483.  
  2484. [BUGS]
  2485. BUGS
  2486.  
  2487. See the file TODO in the distribution for information on
  2488. what remains to be done.
  2489.  
  2490. [main]
  2491.  lqwqk     k           k     
  2492.  x x x .   x     .     x     
  2493.  x x x k lqu wqk k lqw tqk n 
  2494.  x x x x x x x x x x x x x x 
  2495.  v   v v mqv v v v mqu v v mj
  2496.      qqqqqqCommander qj 
  2497. 
  2498.  
  2499. Version 
  2500.  
  2501. This is the main help screen for the GNU Midnight Commander . 
  2502.  
  2503. To learn more on how to use the interactive help facility
  2504. just tap enterHow to use help. You may like to go directly to the
  2505. help contentsContents.
  2506.  
  2507. The Midnight Commander is written by its authorsAUTHORS.
  2508.  
  2509. The Midnight Commander comes with ABSOLUTELY NO WARRANTYWarranty.
  2510. This is free software, and you are welcome to redistribute
  2511. it under certain conditionsLicense.[License]
  2512.  
  2513.                 GNU GENERAL PUBLIC LICENSE
  2514.                    Version 2, June 1991
  2515.  
  2516.  Copyright (C) 1989, 1991 Free Software Foundation,
  2517. Inc. 675 Mass Ave, Cambridge, MA 02139, USA.
  2518.  
  2519.  Everyone is permitted to copy and distribute verbatim
  2520. copies of this license document, but changing it is not
  2521. allowed.
  2522.  
  2523.                          Preamble
  2524.  
  2525.   The licenses for most software are designed to take away
  2526. your freedom to share and change it.  By contrast, the GNU
  2527. General Public License is intended to guarantee your
  2528. freedom to share and change free software--to make sure
  2529. the software is free for all its users.  This General
  2530. Public License applies to most of the Free Software
  2531. Foundation's software and to any other program whose
  2532. authors commit to using it.  (Some other Free Software
  2533. Foundation software is covered by the GNU Library General
  2534. Public License instead.)  You can apply it to your
  2535. programs, too.
  2536.  
  2537.   When we speak of free software, we are referring to
  2538. freedom, not price.  Our General Public Licenses are
  2539. designed to make sure that you have the freedom to
  2540. distribute copies of free software (and charge for this
  2541. service if you wish), that you receive source code or can
  2542. get it if you want it, that you can change the software or
  2543. use pieces of it in new free programs; and that you know
  2544. you can do these things.
  2545.  
  2546.   To protect your rights, we need to make restrictions
  2547. that forbid anyone to deny you these rights or to ask you
  2548. to surrender the rights.  These restrictions translate to
  2549. certain responsibilities for you if you distribute copies
  2550. of the software, or if you modify it.
  2551.  
  2552.   For example, if you distribute copies of such a program,
  2553. whether gratis or for a fee, you must give the recipients
  2554. all the rights that you have.  You must make sure that
  2555. they, too, receive or can get the source code.  And you
  2556. must show them these terms so they know their rights.
  2557.  
  2558.   We protect your rights with two steps: (1) copyright the
  2559. software, and (2) offer you this license which gives you
  2560. legal permission to copy, distribute and/or modify the
  2561. software.
  2562.  
  2563.   Also, for each author's protection and ours, we want to
  2564. make certain that everyone understands that there is no
  2565. warranty for this free software.  If the software is
  2566. modified by someone else and passed on, we want its
  2567. recipients to know that what they have is not the
  2568. original, so that any problems introduced by others will
  2569. not reflect on the original authors' reputations.
  2570.  
  2571.   Finally, any free program is threatened constantly by
  2572. software patents.  We wish to avoid the danger that
  2573. redistributors of a free program will individually obtain
  2574. patent licenses, in effect making the program proprietary.
  2575. To prevent this, we have made it clear that any patent
  2576. must be licensed for everyone's free use or not licensed
  2577. at all.
  2578.  
  2579.   The precise terms and conditions for copying,
  2580. distribution and modification follow.
  2581.  
  2582.                 GNU GENERAL PUBLIC LICENSE
  2583.             TERMS AND CONDITIONS FOR COPYING,
  2584.               DISTRIBUTION AND MODIFICATION
  2585.  
  2586.   0. This License applies to any program or other work
  2587. which contains a notice placed by the copyright holder
  2588. saying it may be distributed under the terms of this
  2589. General Public License.  The "Program", below, refers to
  2590. any such program or work, and a "work based on the
  2591. Program" means either the Program or any derivative work
  2592. under copyright law: that is to say, a work containing the
  2593. Program or a portion of it, either verbatim or with
  2594. modifications and/or translated into another language.
  2595. (Hereinafter, translation is included without limitation
  2596. in the term "modification".)  Each licensee is addressed
  2597. as "you".
  2598.  
  2599. Activities other than copying, distribution and
  2600. modification are not covered by this License; they are
  2601. outside its scope.  The act of running the Program is not
  2602. restricted, and the output from the Program is covered
  2603. only if its contents constitute a work based on the
  2604. Program (independent of having been made by running the
  2605. Program).  Whether that is true depends on what the
  2606. Program does.
  2607.  
  2608.   1. You may copy and distribute verbatim copies of the
  2609. Program's source code as you receive it, in any medium,
  2610. provided that you conspicuously and appropriately publish
  2611. on each copy an appropriate copyright notice and
  2612. disclaimer of warranty; keep intact all the notices that
  2613. refer to this License and to the absence of any warranty;
  2614. and give any other recipients of the Program a copy of
  2615. this License along with the Program.
  2616.  
  2617. You may charge a fee for the physical act of transferring
  2618. a copy, and you may at your option offer warranty
  2619. protection in exchange for a fee.
  2620.  
  2621.   2. You may modify your copy or copies of the Program or
  2622. any portion of it, thus forming a work based on the
  2623. Program, and copy and distribute such modifications or
  2624. work under the terms of Section 1 above, provided that you
  2625. also meet all of these conditions:
  2626.  
  2627.     a) You must cause the modified files to carry
  2628. prominent notices stating that you changed the files and
  2629. the date of any change.
  2630.  
  2631.     b) You must cause any work that you distribute or
  2632. publish, that in whole or in part contains or is derived
  2633. from the Program or any part thereof, to be licensed as a
  2634. whole at no charge to all third parties under the terms of
  2635. this License.
  2636.  
  2637.     c) If the modified program normally reads commands
  2638. interactively when run, you must cause it, when started
  2639. running for such interactive use in the most ordinary way,
  2640. to print or display an announcement including an
  2641. appropriate copyright notice and a notice that there is no
  2642. warranty (or else, saying that you provide a warranty) and
  2643. that users may redistribute the program under these
  2644. conditions, and telling the user how to view a copy of
  2645. this License.  (Exception: if the Program itself is
  2646. interactive but does not normally print such an
  2647. announcement, your work based on the Program is not
  2648. required to print an announcement.)
  2649.  
  2650. These requirements apply to the modified work as a whole.
  2651. If identifiable sections of that work are not derived from
  2652. the Program, and can be reasonably considered independent
  2653. and separate works in themselves, then this License, and
  2654. its terms, do not apply to those sections when you
  2655. distribute them as separate works.  But when you
  2656. distribute the same sections as part of a whole which is a
  2657. work based on the Program, the distribution of the whole
  2658. must be on the terms of this License, whose permissions
  2659. for other licensees extend to the entire whole, and thus
  2660. to each and every part regardless of who wrote it.
  2661.  
  2662. Thus, it is not the intent of this section to claim rights
  2663. or contest your rights to work written entirely by you;
  2664. rather, the intent is to exercise the right to control the
  2665. distribution of derivative or collective works based on
  2666. the Program.
  2667.  
  2668. In addition, mere aggregation of another work not based on
  2669. the Program with the Program (or with a work based on the
  2670. Program) on a volume of a storage or distribution medium
  2671. does not bring the other work under the scope of this
  2672. License.
  2673.  
  2674.   3. You may copy and distribute the Program (or a work
  2675. based on it, under Section 2) in object code or executable
  2676. form under the terms of Sections 1 and 2 above provided
  2677. that you also do one of the following:
  2678.  
  2679.     a) Accompany it with the complete corresponding
  2680. machine-readable source code, which must be distributed
  2681. under the terms of Sections 1 and 2 above on a medium
  2682. customarily used for software interchange; or,
  2683.  
  2684.     b) Accompany it with a written offer, valid for at
  2685. least three years, to give any third party, for a charge
  2686. no more than your cost of physically performing source
  2687. distribution, a complete machine-readable copy of the
  2688. corresponding source code, to be distributed under the
  2689. terms of Sections 1 and 2 above on a medium customarily
  2690. used for software interchange; or,
  2691.  
  2692.     c) Accompany it with the information you received as
  2693. to the offer to distribute corresponding source code.
  2694. (This alternative is allowed only for noncommercial
  2695. distribution and only if you received the program in
  2696. object code or executable form with such an offer, in
  2697. accord with Subsection b above.)
  2698.  
  2699. The source code for a work means the preferred form of the
  2700. work for making modifications to it.  For an executable
  2701. work, complete source code means all the source code for
  2702. all modules it contains, plus any associated interface
  2703. definition files, plus the scripts used to control
  2704. compilation and installation of the executable.  However,
  2705. as a special exception, the source code distributed need
  2706. not include anything that is normally distributed (in
  2707. either source or binary form) with the major components
  2708. (compiler, kernel, and so on) of the operating system on
  2709. which the executable runs, unless that component itself
  2710. accompanies the executable.
  2711.  
  2712. If distribution of executable or object code is made by
  2713. offering access to copy from a designated place, then
  2714. offering equivalent access to copy the source code from
  2715. the same place counts as distribution of the source code,
  2716. even though third parties are not compelled to copy the
  2717. source along with the object code.
  2718.  
  2719.   4. You may not copy, modify, sublicense, or distribute
  2720. the Program except as expressly provided under this
  2721. License.  Any attempt otherwise to copy, modify,
  2722. sublicense or distribute the Program is void, and will
  2723. automatically terminate your rights under this License.
  2724. However, parties who have received copies, or rights, from
  2725. you under this License will not have their licenses
  2726. terminated so long as such parties remain in full
  2727. compliance.
  2728.  
  2729.   5. You are not required to accept this License, since
  2730. you have not signed it.  However, nothing else grants you
  2731. permission to modify or distribute the Program or its
  2732. derivative works.  These actions are prohibited by law if
  2733. you do not accept this License.  Therefore, by modifying
  2734. or distributing the Program (or any work based on the
  2735. Program), you indicate your acceptance of this License to
  2736. do so, and all its terms and conditions for copying,
  2737. distributing or modifying the Program or works based on
  2738. it.
  2739.  
  2740.   6. Each time you redistribute the Program (or any work
  2741. based on the Program), the recipient automatically
  2742. receives a license from the original licensor to copy,
  2743. distribute or modify the Program subject to these terms
  2744. and conditions.  You may not impose any further
  2745. restrictions on the recipients' exercise of the rights
  2746. granted herein.  You are not responsible for enforcing
  2747. compliance by third parties to this License.
  2748.  
  2749.   7. If, as a consequence of a court judgment or
  2750. allegation of patent infringement or for any other reason
  2751. (not limited to patent issues), conditions are imposed on
  2752. you (whether by court order, agreement or otherwise) that
  2753. contradict the conditions of this License, they do not
  2754. excuse you from the conditions of this License.  If you
  2755. cannot distribute so as to satisfy simultaneously your
  2756. obligations under this License and any other pertinent
  2757. obligations, then as a consequence you may not distribute
  2758. the Program at all.  For example, if a patent license
  2759. would not permit royalty-free redistribution of the
  2760. Program by all those who receive copies directly or
  2761. indirectly through you, then the only way you could
  2762. satisfy both it and this License would be to refrain
  2763. entirely from distribution of the Program.
  2764.  
  2765. If any portion of this section is held invalid or
  2766. unenforceable under any particular circumstance, the
  2767. balance of the section is intended to apply and the
  2768. section as a whole is intended to apply in other
  2769. circumstances.
  2770.  
  2771. It is not the purpose of this section to induce you to
  2772. infringe any patents or other property right claims or to
  2773. contest validity of any such claims; this section has the
  2774. sole purpose of protecting the integrity of the free
  2775. software distribution system, which is implemented by
  2776. public license practices.  Many people have made generous
  2777. contributions to the wide range of software distributed
  2778. through that system in reliance on consistent application
  2779. of that system; it is up to the author/donor to decide if
  2780. he or she is willing to distribute software through any
  2781. other system and a licensee cannot impose that choice.
  2782.  
  2783. This section is intended to make thoroughly clear what is
  2784. believed to be a consequence of the rest of this License.
  2785.  
  2786.   8. If the distribution and/or use of the Program is
  2787. restricted in certain countries either by patents or by
  2788. copyrighted interfaces, the original copyright holder who
  2789. places the Program under this License may add an explicit
  2790. geographical distribution limitation excluding those
  2791. countries, so that distribution is permitted only in or
  2792. among countries not thus excluded.  In such case, this
  2793. License incorporates the limitation as if written in the
  2794. body of this License.
  2795.  
  2796.   9. The Free Software Foundation may publish revised
  2797. and/or new versions of the General Public License from
  2798. time to time.  Such new versions will be similar in spirit
  2799. to the present version, but may differ in detail to
  2800. address new problems or concerns.
  2801.  
  2802. Each version is given a distinguishing version number.  If
  2803. the Program specifies a version number of this License
  2804. which applies to it and "any later version", you have the
  2805. option of following the terms and conditions either of
  2806. that version or of any later version published by the Free
  2807. Software Foundation.  If the Program does not specify a
  2808. version number of this License, you may choose any version
  2809. ever published by the Free Software Foundation.
  2810.  
  2811.   10. If you wish to incorporate parts of the Program into
  2812. other free programs whose distribution conditions are
  2813. different, write to the author to ask for permission.  For
  2814. software which is copyrighted by the Free Software
  2815. Foundation, write to the Free Software Foundation; we
  2816. sometimes make exceptions for this.  Our decision will be
  2817. guided by the two goals of preserving the free status of
  2818. all derivatives of our free software and of promoting the
  2819. sharing and reuse of software generally.
  2820.  
  2821. [Warranty]
  2822.                        NO WARRANTY
  2823.  
  2824.   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE,
  2825. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT
  2826. PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED
  2827. IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  2828. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
  2829. EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED
  2830. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  2831. FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE
  2832. QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
  2833. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  2834. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  2835.  
  2836.   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR
  2837. AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY
  2838. OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM
  2839. AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  2840. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  2841. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY
  2842. TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  2843. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED
  2844. BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO
  2845. OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
  2846. OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  2847. DAMAGES.
  2848.  
  2849.                END OF TERMS AND CONDITIONS
  2850.  
  2851.       How to Apply These Terms to Your New Programs
  2852.  
  2853.   If you develop a new program, and you want it to be of
  2854. the greatest possible use to the public, the best way to
  2855. achieve this is to make it free software which everyone
  2856. can redistribute and change under these terms.
  2857.  
  2858.   To do so, attach the following notices to the program.
  2859. It is safest to attach them to the start of each source
  2860. file to most effectively convey the exclusion of warranty;
  2861. and each file should have at least the "copyright" line
  2862. and a pointer to where the full notice is found.
  2863.  
  2864. <one line to give the program's name and a brief idea of 
  2865. what it does.>
  2866. Copyright (C) 19yy  <name of author>
  2867.  
  2868.     This program is free software; you can redistribute it
  2869. and/or modify it under the terms of the GNU General Public
  2870. License as published by the Free Software Foundation;
  2871. either version 2 of the License, or (at your option) any
  2872. later version.
  2873.  
  2874.     This program is distributed in the hope that it will
  2875. be useful, but WITHOUT ANY WARRANTY; without even the
  2876. implied warranty of MERCHANTABILITY or FITNESS FOR A
  2877. PARTICULAR PURPOSE.  See the GNU General Public License
  2878. for more details.
  2879.  
  2880.     You should have received a copy of the GNU General
  2881. Public License along with this program; if not, write to
  2882. the Free Software Foundation, Inc., 675 Mass Ave,
  2883. Cambridge, MA 02139, USA.
  2884.  
  2885. Also add information on how to contact you by electronic
  2886. and paper mail.
  2887.  
  2888. If the program is interactive, make it output a short
  2889. notice like this when it starts in an interactive mode:
  2890.  
  2891. Gnomovision version 69, Copyright (C) 19yy name of author
  2892. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
  2893. type `show w'.  This is free software, and you are welcome
  2894. to redistribute it under certain conditions; type `show c'
  2895. for details.
  2896.  
  2897. The hypothetical commands `show w' and `show c' should
  2898. show the appropriate parts of the General Public License.
  2899. Of course, the commands you use may be called something
  2900. other than `show w' and `show c'; they could even be
  2901. mouse-clicks or menu items--whatever suits your program.
  2902.  
  2903. You should also get your employer (if you work as a
  2904. programmer) or your school, if any, to sign a "copyright
  2905. disclaimer" for the program, if necessary.  Here is a
  2906. sample; alter the names:
  2907.  
  2908.   Yoyodyne, Inc., hereby disclaims all copyright interest
  2909. in the program `Gnomovision' (which makes passes at
  2910. compilers) written by James Hacker.
  2911.  
  2912.   <signature of Ty Coon>, 1 April 1989
  2913.   Ty Coon, President of Vice
  2914.  
  2915. This General Public License does not permit incorporating
  2916. your program into proprietary programs.  If your program
  2917. is a subroutine library, you may consider it more useful
  2918. to permit linking proprietary applications with the
  2919. library.  If this is what you want to do, use the GNU
  2920. Library General Public License instead of this License.
  2921.  
  2922. [QueryBox]
  2923.  
  2924. In the query dialog box you can use the arrow keys or the
  2925. first letter to select an item or click with the mouse on
  2926. the button.
  2927.  
  2928. [How to use help]
  2929.  
  2930. You can use the cursor keys or mouse to navigate in the
  2931. help viewer.
  2932. Press down arrow to move to the next item or scroll down.
  2933. Press up arrow to move to the previous item or scroll up.
  2934. Press right arrow to follow the current link.
  2935. Press left arrow to go back in the history of nodes that
  2936. you have visited.
  2937.  
  2938. If you terminal doesn't support the cursor keys you can
  2939. use the space bar to scroll forward and the 'b' key scroll
  2940. back. Use the TAB key to move to the next item and press
  2941. ENTER to follow the current link. The 'l' (last) key may
  2942. be used to go back in the history of nodes that you have
  2943. visited. Press ESC to exit the help viewer.
  2944.  
  2945. The left mouse button will follow the link or scroll. The
  2946. right mouse button can be used to go back in the history
  2947. of nodes.
  2948.  
  2949. The full key list of the help viewer:
  2950.  
  2951. ^AGeneral movement keys^BGeneral Movement Keys^C are accepted.
  2952.  
  2953. tab           Move to the next item.
  2954. M-tab         Move to the previous item. 
  2955. down          Move to the next item or scroll a line down.
  2956. up            Move to the previous item or scroll a line up.
  2957. right, enter  Follow the current link.    
  2958. left, l       Go back in the history of visited nodes.
  2959. F1            Show the help for the help viewer.
  2960. n             Go to the next node.
  2961. p             Go to the previous node.    
  2962. c             Go to the Contents node.    
  2963. F10, esc      Exit the help viewer.
  2964. 
  2965. Local variables:
  2966. fill-column: 58
  2967. end:
  2968.